function test_pal_thread_wait
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Source Files
└───test └───src └───porting_abstraction_layer_thread_wait.c
Prototype
void test_pal_thread_wait( test_pal_thread_state_t thread_state );
Parameters
test_pal_thread_state_t thread_state
- A thread state, obtained from test_pal_thread_start.
Notes
The test programme typically for a test runs one thread per logical core and then waits for those threads to complete. This function provides the functionality to wait on a thread state until the thread has completed.
Example
void test_pal_thread_wait( test_pal_thread_state_t thread_state ) { WaitForSingleObject( thread_state, INFINITE ); return; }