abstract public class AsyncStateEnumerator
| Modifier and Type | Field |
|---|---|
|
__context$2
|
Task |
__current$2
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Task |
proceed(Enumerator<system'threading'Task> e)
|
| Modifier and Type | Property |
|---|---|
get Task |
Value()
|
| Modifier and Type | Conversion Method |
|---|---|
Enumerator |
cast()
|
| Modifier and Type | Method |
|---|---|
|
reset()
|
|
enumerable()
|
public class AutoResetEvent
| Modifier and Type | Field |
|---|---|
EventHandle |
_handle
|
| Modifier and Type | Constructor / Static Method |
|---|---|
AutoResetEvent |
new()
|
public class BaseEvent
| Modifier and Type | Field |
|---|---|
EventHandle |
_handle
|
| Modifier and Type | Method |
|---|---|
|
wait()
|
|
wait(IntNumber timeOut)
|
|
set()
|
|
reset()
|
|
close()
|
public template BlockingQueue<T1>
| Modifier and Type | Field |
|---|---|
ConcurrentQueue<T1> |
_list
|
Semaphore |
_semaphore
|
| Modifier and Type | Constructor / Static Method |
|---|---|
BlockingQueue<T1> |
constructor()
|
public class CountDownEvent
| Modifier and Type | Field |
|---|---|
EventHandle |
_handle
|
IntNumber |
_counter
|
| Modifier and Type | Constructor / Static Method |
|---|---|
CountDownEvent |
new(IntNumber counter)
|
| Modifier and Type | Method |
|---|---|
|
wait()
|
|
wait(IntNumber timeOut)
|
|
signal()
|
|
close()
|
public class ManualResetEvent
| Modifier and Type | Field |
|---|---|
EventHandle |
_handle
|
| Modifier and Type | Constructor / Static Method |
|---|---|
ManualResetEvent |
new()
|
ManualResetEvent |
new(BoolValue value)
|
public class Semaphore
| Modifier and Type | Field |
|---|---|
Handle |
_handle
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Semaphore |
create(IntNumber initValue, IntNumber maxValue)
|
| Modifier and Type | Method |
|---|---|
|
close()
|
|
wait()
|
|
release()
|
public class Task
| Modifier and Type | Field |
|---|---|
BoolValue |
_completed
|
Exception |
_exception
|
Action<system'threading'Task> |
_continuation
|
Func |
_action
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Task |
constructor2()
|
internal Task |
newPromise()
|
Task |
assign(Func action)
|
| Modifier and Type | Constructor / Static Method |
|---|---|
|
dispatch()
|
Task |
whenAllArgs(params Task[] tasks)
|
Task |
whenAll(system'threading'Task[] tasks)
|
|
waitAll(system'threading'Task[] tasks)
|
|
waitAllArgs(params Task[] tasks)
|
Task |
run(Func action)
|
Task |
sleep(IntNumber msecs)
|
| Modifier and Type | Property |
|---|---|
get |
Result()
|
| Modifier and Type | Method |
|---|---|
internal private |
getResultUnsafe()
|
internal private Exception |
Exception()
|
|
continueWith(Action<system'threading'Task> action)
|
internal |
setResult()
|
internal |
setException(Exception ex)
|
|
wait()
|
|
start()
|
public template Task<T1>
| Modifier and Type | Field |
|---|---|
BoolValue |
_completed
|
Exception |
_exception
|
Action<system'threading'Task> |
_continuation
|
Func |
_action
|
T1 |
_result
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Task<T1> |
constructor2()
|
Task<T1> |
constructor(T1 retVal)
|
internal Task<T1> |
newPromise()
|
Task<T1> |
assign(Func<T1> func)
|
| Modifier and Type | Property |
|---|---|
get T1 |
Result()
|
| Modifier and Type | Conversion Method |
|---|---|
T1 |
cast()
|
| Modifier and Type | Method |
|---|---|
internal private T1 |
getResultUnsafe()
|
internal private |
setResultValue(T1 r)
|
public class Thread
| Modifier and Type | Field |
|---|---|
ThreadHandle |
_handle
|
Object |
_startArg
|
| Modifier and Type | Constructor / Static Method |
|---|---|
Thread |
assign(Func f)
Creates a new thread. It must be started later
|
Thread |
assign(Func1 f)
|
Thread |
assign(Func f, IntNumber stackSize)
|
Thread |
assign(Func1 f, IntNumber stackSize)
|
Thread |
start(Func f)
Creates and starts a new thread
|
Thread |
start(Func f, IntNumber stackSize)
|
Thread |
start(Func1 f)
|
Thread |
new(Func1 f, IntNumber stackSize)
|
internal Thread |
current()
|
| Modifier and Type | Constructor / Static Method |
|---|---|
|
sleep(IntNumber milliseconds)
|
| Modifier and Type | Static Property |
|---|---|
get Thread |
Current()
|
| Modifier and Type | Property |
|---|---|
get ThreadPriority |
Priority()
|
set |
Priority(ThreadPriority value)
|
get BoolValue |
IsAlive()
|
| Modifier and Type | Method |
|---|---|
|
start()
|
|
start(Object arg)
|
|
join()
|
|
join(IntNumber milliseconds)
|
|
close()
|
public class ThreadHandle
| Modifier and Type | Field |
|---|---|
Handle |
_handle
|
UnsafePointer |
_actionPtr
|
| Modifier and Type | Constructor / Static Method |
|---|---|
ThreadHandle |
constructor(Object f)
|
ThreadHandle |
constructor(Object f, IntNumber stackSize)
|
ThreadHandle |
constructor()
|
| Modifier and Type | Constructor / Static Method |
|---|---|
|
sleep(IntNumber interval)
|
| Modifier and Type | Method |
|---|---|
ThreadPriority |
getPriority()
|
|
setPriority(ThreadPriority priority)
|
|
start()
|
|
join()
|
|
join(IntNumber timeOut)
|
BoolValue |
checkIfAlive()
|
|
close()
|
public class ThreadPool
| Modifier and Type | Constructor / Static Method |
|---|---|
private |
function:#class_init()
|
|
queueAction(Func f)
|
|
queueAction(Func1 f, Object arg)
|
public class ThreadPriority
| Modifier and Type | Field |
|---|---|
IntNumber |
_value
|
| Modifier and Type | Name |
public |
ThreadPool#initializer$inline0
|
|---|