flock
pub fn run<K: Kernel + 'static>( kernel: K, task: Box<FnMut(&[Event<K>]) -> Option<Request<K>> + Send>)