Home
last modified time | relevance | path

Searched refs:Mutex (Results 1 - 25 of 127) sorted by relevance

123456

/foundation/multimedia/media_foundation/src/osal/task/pthread/
H A Dmutex.cpp16 #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 Dmutex.h29 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 Dautolock.h25 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 Dmutex.h25 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 Dmutex.c21 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 Dmutex.h25 class Mutex { class
27 Mutex();
29 virtual ~Mutex();
31 Mutex(const Mutex&) = delete;
33 Mutex operator=(const Mutex&) = delete;
H A Dscoped_lock.h28 explicit ScopedLock(Mutex& mutex);
43 Mutex* mutex_;
/foundation/multimedia/media_foundation/engine/foundation/osal/thread/
H A Dmutex.cpp16 #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 Dmutex.h26 * @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 Dmutex_lock.h42 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 Dstub.rs14 use std::sync::{Arc, Mutex};
28 watch: Arc<Mutex<Watch>>,
42 pub(crate) fn new(watch: Arc<Mutex<Watch>>) -> Self {
H A Dlib.rs25 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 DMutexTest.cpp25 using CORE_NS::Mutex;
50 Mutex m; in HWTEST_F()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_daemon_client.cpp159 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 Daudio_ffmpeg_decoder_plugin.h104 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 Daudio_ffmpeg_encoder_plugin.h97 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 Dlib.rs24 use std::sync::{Arc, Mutex, Once, RwLock};
47 watch: Arc<Mutex<Watch>>,
124 watch: Arc::new(Mutex::new(Watch::new())), in init()
H A Dstub.rs14 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 Ddata_stream_impl.h38 OSAL::Mutex emptyMutex_ {};
39 OSAL::Mutex dataMutex_ {};
/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/
H A Dasync_mode.h74 mutable OSAL::Mutex renderMutex_ {};
79 mutable OSAL::Mutex mutex_;
/foundation/multimedia/player_framework/services/engine/histreamer/transcoder/
H A Dhitranscoder_callback_looper.h64 OHOS::Media::Mutex queueMutex_ {};
74 OHOS::Media::Mutex loopMutex_ {};
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/
H A Dhdi_codec_adapter.h101 OSAL::Mutex lockInputBuffers_;
112 OSAL::Mutex fillAllTheOutBufferMutex_;
113 OSAL::Mutex bufferMetaMutex_;
/foundation/multimedia/media_foundation/interface/inner_api/plugin/
H A Dcached_plugin_package.h37 Mutex pluginMutex_;
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/evt/
H A Dhci_evt.h47 Mutex *HciGetEventCallbackListLock();
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_encoder/
H A Dvideo_ffmpeg_encoder_plugin.h112 mutable OSAL::Mutex parameterMutex_ {};
123 mutable OSAL::Mutex avMutex_ {};

Completed in 6 milliseconds

123456