On Fri, Mar 11, 2011 at 4:47 PM, Graydon Hoare <[email protected]> wrote: > On 11/03/2011 3:16 AM, Marijn Haverbeke wrote: >> >> Related to this, are library functions allowed to block, or will that >> hold up all tasks? > > Yes, but it should be done very judiciously, isolated to particular > functions that are understood to do so. Not just blocking willy-nilly. Would it be possible to have a blocking 'effect' (if that is the right term) to mark functions that may block (works like impure does) Then the compiler could warn.
Pete _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
