| 69 | } |
| 70 | |
| 71 | int server_queue::get_new_id() { |
| 72 | std::unique_lock<std::mutex> lock(mutex_tasks); |
| 73 | int new_id = id++; |
| 74 | return new_id; |
| 75 | } |
| 76 | |
| 77 | void server_queue::pop_deferred_task(int id_slot) { |
| 78 | std::unique_lock<std::mutex> lock(mutex_tasks); |
no outgoing calls
no test coverage detected