diff --git a/src/sf_service.c b/src/sf_service.c index b80d3b5..67f5c15 100644 --- a/src/sf_service.c +++ b/src/sf_service.c @@ -678,6 +678,17 @@ struct nio_thread_data *sf_get_random_thread_data_ex(SFContext *sf_context) return sf_context->thread_data + index; } +void sf_notify_all_threads_ex(SFContext *sf_context) +{ + struct nio_thread_data *tdata; + struct nio_thread_data *tend; + + tend = sf_context->thread_data + sf_context->work_threads; + for (tdata=sf_context->thread_data; tdata