Struct dyon::Thread [−][src]
Fields
handle: Option<Arc<Mutex<JoinHandle<Result<Variable, String>>>>>
Methods
impl Thread
[src]
impl Thread
pub fn new(handle: JoinHandle<Result<Variable, String>>) -> Thread
[src]
pub fn new(handle: JoinHandle<Result<Variable, String>>) -> Thread
pub fn invalidate_handle(
rt: &mut Runtime,
var: Variable
) -> Result<JoinHandle<Result<Variable, String>>, String>
[src]
pub fn invalidate_handle(
rt: &mut Runtime,
var: Variable
) -> Result<JoinHandle<Result<Variable, String>>, String>
Removes the thread handle from the stack. This is to prevent an extra reference when resolving the variable.
Trait Implementations
impl Clone for Thread
[src]
impl Clone for Thread
fn clone(&self) -> Thread
[src]
fn clone(&self) -> Thread
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Thread
[src]
impl Debug for Thread