File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ _lf_sched_instance_t* _lf_sched_instance;
6969 * FIXME: Does the caller need to hold the mutex here?
7070 */
7171void _lf_sched_notify_workers () {
72- // Calculate the number of workers that we need to wake up, which is the
7372 // Note: All threads are idle. Therefore, there is no need to lock the mutex
7473 // while accessing the index for the current level.
7574 size_t workers_to_awaken = _lf_sched_instance -> _lf_sched_number_of_workers ;
@@ -161,7 +160,7 @@ void _lf_sched_wait_for_work(size_t worker_number) {
161160
162161 // FIXME: There might be a better place to unlock the mutex.
163162 lf_mutex_unlock (& mutex );
164- // FIXME: Can we move _lf_sched_notify_workers() here?
163+ // FIXME: Can we move _lf_sched_notify_workers() here?
165164}
166165
167166///////////////////// Scheduler Init and Destroy API /////////////////////////
You can’t perform that action at this time.
0 commit comments