Skip to content

Commit 0bfa648

Browse files
committed
Clean up
1 parent 2bb21ab commit 0bfa648

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/threaded/scheduler_QS.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
*/
7171
void _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 /////////////////////////

0 commit comments

Comments
 (0)