| 86 | Thread.unlock(); |
| 87 | } |
| 88 | uint64_t RegisterCall(bool MarkActive) |
| 89 | { |
| 90 | // Return a new callresult id and set the status. |
| 91 | Thread.lock(); |
| 92 | ++_CallID; |
| 93 | _Calls[_CallID] = MarkActive; |
| 94 | Thread.unlock(); |
| 95 | return _CallID; |
| 96 | } |
| 97 | void CreateNewRequest(void* data, int size, int type, uint64_t call) |
| 98 | { |
| 99 | Thread.lock(); |
no outgoing calls