locus_resume


locus_resume

Enables a locus to be scheduled for execution.

Signature

Status locus_resume(
	Capref	locus )

Arguments

Semantics

A locus resides in one of three states: running, ready, or suspended. A locus in the running state currently has control over the CPU. A locus in the ready state is waiting for its turn to gain control over the CPU. A locus in the suspended state cannot gain control of the CPU.

This call places the locus specified by locus in the ready state such that it will eventually gain control of the CPU. It does not matter which state the specified locus is in prior to the call.

Status

Fails if locus is an invalid capref.

Fails if locus is not a capref for a locus.

See Also

Loci