fvh wrote on Wednesday, June 27, 2018:
Hi,
Is there a way to wait for a certain task to terminate?
richard_damon wrote on Wednesday, June 27, 2018:
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.
rtel wrote on Wednesday, June 27, 2018:
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.