mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-20 00:00:08 +02:00
reactor: turn bench-poll into a proper benchmark (#662)
This commit is contained in:
committed by
Carl Lerche
parent
46353737e7
commit
331a88cee6
@@ -173,7 +173,7 @@ impl Task {
|
||||
|
||||
/// Notify the task
|
||||
pub fn notify(me: Arc<Task>, pool: &Arc<Pool>) {
|
||||
if me.schedule(){
|
||||
if me.schedule() {
|
||||
let _ = pool.submit(me, pool);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user