| 51 | } |
| 52 | |
| 53 | bool aio_timer_delay_free::add(aio_delay_free* callback) |
| 54 | { |
| 55 | std::set<aio_delay_free*>::iterator it = gc_set_.find(callback); |
| 56 | if (it != gc_set_.end()) { |
| 57 | return false; |
| 58 | } |
| 59 | gc_set_.insert(callback); |
| 60 | return true; |
| 61 | } |
| 62 | |
| 63 | bool aio_timer_delay_free::del(aio_delay_free* callback) |
| 64 | { |
no test coverage detected