Struct sgx_tstd::thread::SgxThread[][src]

pub struct SgxThread { /* fields omitted */ }

A handle to a thread.

Methods

impl SgxThread
[src]

Gets the thread's unique identifier.

Atomically makes the handle's token available if it is not already.

Every thread is equipped with some basic low-level blocking support, via the park function and the unpark() method. These can be used as a more CPU-efficient implementation of a spinlock.

Trait Implementations

impl Clone for SgxThread
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for SgxThread

impl Sync for SgxThread