| 336 | |
| 337 | |
| 338 | void BinaryNinja::WorkerPriorityEnqueue(const function<void()>& action, const std::string& name) |
| 339 | { |
| 340 | WorkerThreadActionContext* ctxt = new WorkerThreadActionContext; |
| 341 | ctxt->action = action; |
| 342 | BNWorkerPriorityEnqueueNamed(ctxt, WorkerActionCallback, name.c_str()); |
| 343 | } |
| 344 | |
| 345 | |
| 346 | void BinaryNinja::WorkerPriorityEnqueue(RefCountObject* owner, const function<void()>& action, const std::string& name) |