SAM function SAM-My-type()

From SoOS

Jump to: navigation, search

Contents

[edit] Name

SAM_My_type - Get calling thread's type

[edit] Synopsis

#include <sam.h>
 
SAM_Thread_type_t SAM_My_type(SAM_t sam);

[edit] Description

The SAM_My_type() function returns the type of thread of the calling thread within the context of SAM Structure object sam.

[edit] Return value

See DESCRIPTION above.

[edit] Errors

None, assumes correct input parameters.

[edit] Examples

None.

[edit] See also

SAM_My_workid(), SAM_My_pthreadid(), <sam.h>.