Submit a task to the queue
| 51 | |
| 52 | //! Submit a task to the queue |
| 53 | void submit(ClosureHandler &&handle) { |
| 54 | return enqueue_and_wake(std::move(handle)); |
| 55 | } |
| 56 | |
| 57 | //! Push a task to the queue |
| 58 | void enqueue_and_wake(const ClosureHandler &handle) { |
no outgoing calls