heph icon indicating copy to clipboard operation
heph copied to clipboard

Remove global lock from shared scheduler

Open Thomasdezeeuw opened this issue 3 years ago • 1 comments

Currently the shared scheduler is implemented behind locks, see: https://github.com/Thomasdezeeuw/heph/blob/40984a97301706e32e7237a1535a7d06f5e157e7/src/rt/shared/scheduler/mod.rs#L102 And: https://github.com/Thomasdezeeuw/heph/blob/40984a97301706e32e7237a1535a7d06f5e157e7/src/rt/shared/scheduler/runqueue.rs#L16

This was done in commit 3c59598 to fix #288. Remove this global lock.

Thomasdezeeuw avatar Mar 02 '21 15:03 Thomasdezeeuw

Pr #429 removes the lock from the Inactive tree, now the RunQueue is left.

Thomasdezeeuw avatar Mar 23 '21 14:03 Thomasdezeeuw