redesigned the pinning to pin deal with things on dequeue, not on enqueue

This commit is contained in:
toddaaro
2013-06-14 12:17:56 -07:00
parent 4224fc7aad
commit d1ec8b5fb8
6 changed files with 390 additions and 210 deletions

View File

@@ -49,18 +49,7 @@ pub fn do_abort() -> ! {
macro_rules! abort(
($( $msg:expr),+) => ( {
rtdebug!($($msg),+);
// do_abort();
// NB: This is in a fn to avoid putting the `unsafe` block in
// a macro, which causes spurious 'unnecessary unsafe block'
// warnings.
// fn do_abort() -> ! {
// unsafe { ::libc::abort(); }
// }
::macros::do_abort();
} )
)