MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / pthread_join

Function pthread_join

include/hamlib/winpthreads.h:836–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834}
835
836static int pthread_join(pthread_t t, void **res)
837{
838 struct _pthread_v *tv = t;
839
840 pthread_testcancel();
841
842 WaitForSingleObject(tv->h, INFINITE);
843 CloseHandle(tv->h);
844
845 /* Obtain return value */
846 if (res) *res = tv->ret_arg;
847
848 free(tv);
849
850 return 0;
851}
852
853static int pthread_detach(pthread_t t)
854{

Callers 12

pstrotator_rot_closeFunction · 0.85
tt565_closeFunction · 0.85
gr_closeFunction · 0.85
rig_poll_routine_stopFunction · 0.85
async_data_handler_stopFunction · 0.85
morse_data_handler_stopFunction · 0.85
multicast_stopFunction · 0.85
mainFunction · 0.85
close_microhamFunction · 0.85
mainFunction · 0.85

Calls 1

pthread_testcancelFunction · 0.85

Tested by 1

mainFunction · 0.68