![[Return to Bookshelf]](BOOKSHELF.GIF) 
![[Contents]](TOC.GIF) 
![[Previous Section]](PREV.GIF) 
![[Next Section]](NEXT.GIF) 
![[Index]](INDEX.GIF) 
![[Help]](HELP.GIF) 
Obtains the handle of the current thread.
Syntax
cma_thread_get_self(
                     thread);
 
Argument         Data Type               Access
thread           opaque cma_t_thread     write
C Binding
#include 
void
cma_thread_get_self (
         cma_t_thread   *thread);
Arguments
- thread
-  Variable that receives the handle of the current thread. 
Description
 This routine allows a thread to obtain its own handle. This
value becomes meaningless when the thread object has been deleted-
that is, when the thread has terminated its execution and cma_
thread_detach has been called.
Exceptions
None
![[Return to Bookshelf]](BOOKSHELF.GIF) 
![[Contents]](TOC.GIF) 
![[Previous Section]](PREV.GIF) 
![[Next Section]](NEXT.GIF) 
![[Index]](INDEX.GIF) 
![[Help]](HELP.GIF)