W Wrapl, The Programming Language

Libraries Sys.Thread

Types

T

KeyT

MutexT

SemaphoreT

CondT

RWLockT

QueueT

Inherits from:

GateT

Inherits from:

Functions

Block()

CondBroadcast()

CondNew()

CondSignal()

CondWait()

Data()

Detach()

Errno()

Fail()

GateNew()

GateResume()

GateWait()

KeyGet()

KeyNew()

KeySet()

MutexLock()

MutexNew()

MutexTryLock()

MutexUnlock()

MutexWait()

New()

QueueHead()

QueueLength()

QueueLock()

QueueNew()

QueuePeek()

QueuePop()

QueuePush()

QueuePut()

QueueUnlock()

QueueWait()

RWLockNew()

RWLockRdLock()

RWLockUnlock()

RWLockWrLock()

Result()

Return()

Self()

SemaphoreNew()

SemaphorePost()

SemaphoreTryWait()

SemaphoreWait()

Send()

SetFailure()

SetMask()

SetMessage()

SetResult()

SetSuccess()

Signal()

Sleep()

USleep()

Unblock()

Methods

:"@"(_ @ T, _ = Std.String.T)

:broadcast(_ @ CondT)

:data(_ @ T)

:detach(_ @ T)

:failure(_ @ T)

:get(_ @ KeyT)

:length(_ @ QueueT)

:lock(_ @ QueueT)

:lock(_ @ MutexT)

:message(_ @ T, _)

:peek(_ @ QueueT)

:pop(_ @ QueueT)

:post(_ @ SemaphoreT)

:push(_ @ QueueT, _)

:put(_ @ QueueT, _)

:rdlock(_ @ RWLockT)

:result(_ @ T)

:result(_ @ T, _ @ Std.Integer.SmallT, _)

:resume(_ @ GateT, _ @ Std.Integer.SmallT, _)

:set(_ @ KeyT, _)

:signal(_ @ CondT)

:signal(_ @ T, _ @ Std.Integer.SmallT)

:success(_ @ T, _)

:trylock(_ @ MutexT)

:trywait(_ @ SemaphoreT)

:unlock(_ @ QueueT)

:unlock(_ @ RWLockT)

:unlock(_ @ MutexT)

:wait(_ @ GateT)

:wait(_ @ QueueT, _ @ Std.Integer.SmallT)

:wait(_ @ CondT, _ @ MutexT)

:wait(_ @ SemaphoreT)

:wait(_ @ MutexT, _ @ Std.Integer.SmallT)

:wrlock(_ @ RWLockT)