// Scheduling helpers. Sched must be locked.
static void gput(G*); // put/get on ghead/gtail
in the uncontended case,
* as fast as spin locks (just a few user-level instructions),
* but on the contention path they sleep in the kernel.
* a zeroed Lock is unlocked (no need to initialize each lock).
This is just a guess from someone that knows nothing about either (stackless does run in a vm, right?), so take many large grains of salt.