#82 Add a wait on job function
Opened 5 years ago by firstyear. Modified 5 years ago

When we create a new async job (ie ns_add_job) of somekind, we may want to indicate that we want to block until the operation returns. We should have a ns_job_add_block or ns_job_add_wait function that allows us to establish a conditional variable, that our function can wait on until this completes.

The largest risk of this is that we could cause a deadlock in some situations, but this would be unlikely depending on usage.


Login to comment on this ticket.

Metadata