File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,8 @@ mod unfurl;
1717
1818pub use linger:: * ;
1919
20+ const QUANTUM_MICROSECS : u64 = 100 ;
21+ const STACK_SIZE_BYTES : usize = 2 * 1_024 * 1_024 ;
22+
2023#[ cfg( test) ]
2124fn main ( ) { }
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ use reusable::ReusableSync;
77use signal:: Set ;
88use signal:: Signal ;
99use signal:: siginfo_t;
10+ use super :: QUANTUM_MICROSECS ;
11+ use super :: STACK_SIZE_BYTES ;
1012use std:: cell:: Cell ;
1113use std:: cell:: RefCell ;
1214use std:: io:: Result ;
@@ -18,9 +20,6 @@ use timetravel::Context;
1820use timetravel:: HandlerContext ;
1921use unfurl:: Unfurl ;
2022
21- const QUANTUM_MICROSECS : u64 = 100 ;
22- const STACK_SIZE_BYTES : usize = 2 * 1_024 * 1_024 ;
23-
2423pub enum Linger < T , F : FnMut ( * mut Option < ThdResult < T > > ) + Send > {
2524 Completion ( T ) ,
2625 Continuation ( Continuation < F > ) ,
You can’t perform that action at this time.
0 commit comments