fat_thread

Macro fat_thread 

Source
macro_rules! fat_thread {
    ($stack_size:expr, $code:block) => { ... };
}
Expand description

Runs a code block in a separate thread.

#params

stack_size: The size of the stack in megabytes.

code: The code block to run e.g. { code here }.

#patterns

fat_thread!(‘stack_size: usize’, ‘code: block’)