mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Squash code from OperationResultCallback into ResultCallback
This commit is contained in:
parent
cd66b32428
commit
e5b06367f7
12 changed files with 62 additions and 91 deletions
|
@ -89,7 +89,7 @@ OperationResult Manager::OpenBackend(BackendPtr backend, OpenResultCallback* cb,
|
|||
return res;
|
||||
}
|
||||
|
||||
OperationResult Manager::CloseBackend(BackendPtr backend, OperationResultCallback* cb) {
|
||||
OperationResult Manager::CloseBackend(BackendPtr backend, ResultCallback* cb) {
|
||||
// Expiration runs on a separate thread and loops over the vector of backends. The mutex
|
||||
// here ensures exclusive access. This one happens in a block because we can remove the
|
||||
// backend from the vector before actually closing it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue