#[repr(C)]pub struct ThreadOpts {
pub suggested_stack_size: c_int,
}Expand description
Options for creating a thread.
Allocated with thread_opts_create and passed to thread_create. The
single field suggested_stack_size is a stack-size suggestion in kilowords;
a value below zero requests the default size.
ErlNifThreadOpts — NIF 1.0 — OTP R13B04
Fields§
§suggested_stack_size: c_intAuto Trait Implementations§
impl Freeze for ThreadOpts
impl RefUnwindSafe for ThreadOpts
impl Send for ThreadOpts
impl Sync for ThreadOpts
impl Unpin for ThreadOpts
impl UnsafeUnpin for ThreadOpts
impl UnwindSafe for ThreadOpts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more