Searched refs:lock_promise (Results 1 – 6 of 6) sorted by relevance
268 const lock_promise = async lock.acquireWrite();269 const handle = await lock_promise;285 const lock_promise = async lock.acquireRead();286 const handle = await lock_promise;
5375 auto lock_promise = load_imported_contact_users_multipromise_.get_promise(); in on_load_imported_contacts_from_database() local5384 lock_promise.set_value(Unit()); in on_load_imported_contacts_from_database()8128 auto lock_promise = load_contact_users_multipromise_.get_promise(); in on_load_contacts_from_database() local8134 lock_promise.set_value(Unit()); in on_load_contacts_from_database()15296 auto lock_promise = load_users_multipromise.get_promise(); in on_load_dialog_administrators_from_database() local15302 lock_promise.set_value(Unit()); in on_load_dialog_administrators_from_database()
5654 auto lock_promise = multipromise.get_promise(); in create_new_sticker_set() local5664 lock_promise.set_value(Unit()); in create_new_sticker_set()
1778 …sage(unique_ptr<PendingSecretMessage> pending_secret_message, Promise<Unit> lock_promise = Auto());
13208 auto lock_promise = pending_secret_message->load_data_multipromise.get_promise(); in on_get_secret_message() local13251 add_secret_message(std::move(pending_secret_message), std::move(lock_promise)); in on_get_secret_message()13343 Promise<Unit> lock_promise) { in add_secret_message() argument13354 if (!lock_promise) { in add_secret_message()13355 lock_promise = multipromise.get_promise(); in add_secret_message()13357 lock_promise.set_value(Unit()); in add_secret_message()27679 auto lock_promise = multipromise.get_promise(); in start_import_messages() local27686 lock_promise.set_value(Unit()); in start_import_messages()