/foundation/multimedia/media_foundation/src/osal/task/pthread/ |
H A D | mutex.cpp | 16 #define HST_LOG_TAG "Mutex" 22 constexpr OHOS::HiviewDFX::HiLogLabel LABEL = { LOG_CORE, LOG_DOMAIN_FOUNDATION, "Mutex" }; 27 Mutex::Mutex() : created_(true) in Mutex() function in OHOS::Media::Mutex 36 Mutex::~Mutex() in ~Mutex() 43 void Mutex::lock() in lock() 49 bool Mutex::try_lock() in try_lock() 58 void Mutex::unlock() in unlock() 64 FairMutex::FairMutex() : Mutex() in FairMutex() [all...] |
/foundation/multimedia/media_foundation/interface/inner_api/osal/task/ |
H A D | mutex.h | 29 using Mutex = ffrt::mutex; 31 class Mutex { 33 Mutex(); 35 virtual ~Mutex(); 37 Mutex(const Mutex&) = delete; 39 Mutex operator=(const Mutex&) = delete; 53 class FairMutex : public Mutex {
|
H A D | autolock.h | 25 using AutoLock = std::unique_lock<Mutex>; 31 explicit AutoLock(Mutex& mutex); 40 Mutex* mutex_;
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/ |
H A D | mutex.h | 25 typedef struct Mutex Mutex; typedef 28 * @brief Initialize the object of the Mutex. 30 * @return Succeed return Mutex pointer, failed return NULL. 33 Mutex *MutexCreate(); 36 * @brief Delete object of the Mutex. 38 * @param mutex Mutex pointer. 41 void MutexDelete(Mutex *mutex); 44 * @brief Lock the Mutex instance. 46 * @param mutex Mutex pointe [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
H A D | mutex.c | 21 typedef struct Mutex { struct 25 Mutex *MutexCreate() in MutexCreate() 27 Mutex *mutex = (Mutex *)malloc(sizeof(Mutex)); in MutexCreate() 41 void MutexDelete(Mutex *mutex) in MutexDelete() 51 void MutexLock(Mutex *mutex) in MutexLock() 57 void MutexUnlock(Mutex *mutex) in MutexUnlock() 63 int32_t MutexTryLock(Mutex *mutex) in MutexTryLock()
|
/foundation/multimedia/media_foundation/engine/include/foundation/osal/thread/ |
H A D | mutex.h | 25 class Mutex { class 27 Mutex(); 29 virtual ~Mutex(); 31 Mutex(const Mutex&) = delete; 33 Mutex operator=(const Mutex&) = delete;
|
H A D | scoped_lock.h | 28 explicit ScopedLock(Mutex& mutex); 43 Mutex* mutex_;
|
/foundation/multimedia/media_foundation/engine/foundation/osal/thread/ |
H A D | mutex.cpp | 16 #define HST_LOG_TAG "Mutex" 24 Mutex::Mutex() : created_(true) in Mutex() function in OHOS::Media::OSAL::Mutex 34 Mutex::~Mutex() in ~Mutex() 42 void Mutex::Lock() in Lock() 52 bool Mutex::TryLock() in TryLock() 65 void Mutex::Unlock() in Unlock()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/threading/ |
H A D | mutex.h | 26 * @brief Mutex class that can be used across shared library boundaries and in public headers. 29 class Mutex { class 31 META_NO_COPY_MOVE(Mutex) 36 Mutex() : api_(GetSyncApi().mutex) in Mutex() function in Mutex 44 ~Mutex() in ~Mutex() 73 template<class Mutex> 80 explicit UniqueLock(Mutex& mutex) : mutex_(&mutex) in UniqueLock() 152 Mutex* mutex_;
|
/foundation/bundlemanager/bundle_framework_lite/utils/bundle_lite/ |
H A D | mutex_lock.h | 42 struct Mutex { struct 44 Mutex() in Mutex() function 49 ~Mutex() in ~Mutex()
|
/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/rust/examples/listen_rust_sa/src/ |
H A D | stub.rs | 14 use std::sync::{Arc, Mutex}; 28 watch: Arc<Mutex<Watch>>, 42 pub(crate) fn new(watch: Arc<Mutex<Watch>>) -> Self {
|
H A D | lib.rs | 25 use std::sync::{Arc, Mutex}; 45 watch: Arc<Mutex<stub::Watch>>, 71 let watch = Arc::new(Mutex::new(Watch { stop_reason: None })); in init()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/api/ |
H A D | MutexTest.cpp | 25 using CORE_NS::Mutex; 50 Mutex m; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_daemon_client.cpp | 159 Lock<Mutex> lock(client->mutex_); in RegisterDeathCallback() 223 Lock<Mutex> lock(mutex_); in RegisterCallback() 262 Lock<Mutex> lock(mutex_); in RegisterCallback() 287 Lock<Mutex> lock(mutex_); in RegisterCallback() 311 Lock<Mutex> lock(mutex_); in RegisterCallback() 334 Lock<Mutex> lock(mutex_); in RegisterCallback() 356 Lock<Mutex> lock(mutex_); in RegisterCallback()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_decoder/ |
H A D | audio_ffmpeg_decoder_plugin.h | 104 mutable OSAL::Mutex parameterMutex_ {}; 107 mutable OSAL::Mutex avMutex_ {}; 122 mutable OSAL::Mutex bufferMetaMutex_ {};
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_encoder/ |
H A D | audio_ffmpeg_encoder_plugin.h | 97 mutable OSAL::Mutex parameterMutex_ {}; 100 mutable OSAL::Mutex avMutex_ {}; 112 mutable OSAL::Mutex bufferMetaMutex_ {};
|
/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/rust/examples/audio_rust_sa/src/ |
H A D | lib.rs | 24 use std::sync::{Arc, Mutex, Once, RwLock}; 47 watch: Arc<Mutex<Watch>>, 124 watch: Arc::new(Mutex::new(Watch::new())), in init()
|
H A D | stub.rs | 14 use std::sync::{Arc, Mutex}; 26 watch: Arc<Mutex<Watch>>, 30 pub(crate) fn new(handler: Handler, watch: Arc<Mutex<Watch>>) -> Self {
|
/foundation/multimedia/media_foundation/engine/scene/common/ |
H A D | data_stream_impl.h | 38 OSAL::Mutex emptyMutex_ {}; 39 OSAL::Mutex dataMutex_ {};
|
/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/ |
H A D | async_mode.h | 74 mutable OSAL::Mutex renderMutex_ {}; 79 mutable OSAL::Mutex mutex_;
|
/foundation/multimedia/player_framework/services/engine/histreamer/transcoder/ |
H A D | hitranscoder_callback_looper.h | 64 OHOS::Media::Mutex queueMutex_ {};
74 OHOS::Media::Mutex loopMutex_ {};
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/ |
H A D | hdi_codec_adapter.h | 101 OSAL::Mutex lockInputBuffers_; 112 OSAL::Mutex fillAllTheOutBufferMutex_; 113 OSAL::Mutex bufferMetaMutex_;
|
/foundation/multimedia/media_foundation/interface/inner_api/plugin/ |
H A D | cached_plugin_package.h | 37 Mutex pluginMutex_;
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/evt/ |
H A D | hci_evt.h | 47 Mutex *HciGetEventCallbackListLock();
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_encoder/ |
H A D | video_ffmpeg_encoder_plugin.h | 112 mutable OSAL::Mutex parameterMutex_ {}; 123 mutable OSAL::Mutex avMutex_ {};
|