| 459 | |
| 460 | |
| 461 | Future<bool> LogStorageProcess::set( |
| 462 | const Entry& entry, |
| 463 | const id::UUID& uuid) |
| 464 | { |
| 465 | return mutex.lock() |
| 466 | .then(defer(self(), &Self::_set, entry, uuid)) |
| 467 | .onAny(lambda::bind(&Mutex::unlock, mutex)); |
| 468 | } |
| 469 | |
| 470 | |
| 471 | Future<bool> LogStorageProcess::_set( |