#include <xmog_thread_factory.h>
Static Public Member Functions | |
| static int | spawn (XMOG_THREAD_FUNC func, void *arg=NULL) |
| Starts a new thread. | |
| static int | spawn_n (size_t count, XMOG_THREAD_FUNC func, void *arg=NULL) |
| Starts a number of new threads. | |
| static void | wait_n (int grp_id) |
| Waits for completion of all threads started by an invocation of spawn_n(). | |
This class is intended to support platform-portable thread-related testcases for the runtime library.
|
||||||||||||
|
Starts a new thread.
|
|
||||||||||||||||
|
Starts a number of new threads.
|
|
|
Waits for completion of all threads started by an invocation of spawn_n().
|
1.4.1