standard.lib.thread.semv

semv is available since version 1.0.

Prototype:

number semv(number sem)

Parameters

sem
the semaphore handle as returned by semcreate

Description:

'V' Operation on the 'sem' semaphore';
its counter is incremented;
if counter >= 0 and the wait queue is not empty,
then one of the waiting tasks is extracted to continue running.

Return value:

Returns null.