class CAVERNplus_thread_c

Thread class

Public Methods

int create (void * (*threaded_func)(void *), void *arg)
Create a thread
globus_thread_t* getNexusThread ()
Return nexus' thread handle.

Documentation

Thread class. Note: the CAVERNplus_thread-related classes are intended to be simplified versions of the nexus/pthread interfaces so that beginners can quickly create threaded programs. For greater control over threads use the nexus thread API which is very similar to the pthreads API.
int create(void * (*threaded_func)(void *), void *arg)
Create a thread
Returns:
0 if thread successful, else non-zero.
Parameters:
threaded_func - is your function that will be called in a separate thread. The function needs to be of the form: void * threaded_func(void *arg);
arg - is the argument to pass to the threaded function.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de