pthread_join alike function
Hi,
Is there a way to wait for a certain task to terminate?
pthread_join alike function
There is no explicit function that I know of, but you could put at the end of the task a notification (either direct to task or using a semaphore/queue) that the other task waits for.
pthread_join alike function
Perhaps you could you could implement a trace macro in the task delete
trace hook that did something like write the handle of the task being
deleted to a queue, then block on the queue until the handle of the task
of interest showed up in it.