pub fn make_selectable(self, num_handles: uint) -> Take<BlockedTasks>
    {
        let arc = match self {
            Owned(task) => {
                let flag = unsafe { AtomicUint::new(cast::transmute(task)) };
                UnsafeArc::new(flag)
            }
            Shared(arc) => arc.clone(),
        };
        BlockedTasks{ inner: arc }.take(num_handles)
    }
/// Converts one blocked task handle to a list of many handles to the same.
Converts one blocked task handle to a list of many handles to the same.
Converts one blocked task handle to a list of many handles to the same .
pub fn make_selectable(self, num_handles: uint) -> Take<BlockedTasks>
    {
        let arc = match self {
            Owned(task) => {
                let flag = unsafe { AtomicUint::new(cast::transmute(task)) };
                UnsafeArc::new(flag)
            }
            Shared(arc) => arc.clone(),
        };
        BlockedTasks{ inner: arc }.take(num_handles)
    }
pub fn make_selectable ( self , num_handles : uint ) -> Take < BlockedTasks > { let arc = match self { Owned ( task ) => { let flag = unsafe { AtomicUint :: new ( cast :: transmute ( task ) ) } ; UnsafeArc :: new ( flag ) } Shared ( arc ) => arc . clone ( ) , } ; BlockedTasks { inner : arc } . take ( num_handles ) }
Converts one blocked task handle to a list of many handles to the same.
Converts one blocked task handle to a list of many handles to the same .
self
num_handles
uint
self
num_handles
uint