[][src]Module sgx_tstd::thread

Native threads.

Structs

AccessError
LocalKey
LocalKeyInner
SgxThread

A handle to a thread.

SgxThreadId

A unique identifier for a running thread.

Functions

current

Gets a handle to the thread that invokes it.

panicking

Determines whether the current thread is unwinding because of panic.

park

Blocks unless or until the current thread's token is made available.

park_timeout

Blocks unless or until the current thread's token is made available or the specified duration has been reached (may wake spuriously).

park_timeout_ms

Use park_timeout.

rsgx_thread_equal

The rsgx_thread_equal function compares two thread identifiers.

rsgx_thread_self

The rsgx_thread_self function returns the unique thread identification.