/ohos5.0/foundation/multimedia/media_foundation/src/ |
H A D | BUILD.gn | 113 "$histreamer_root_dir/src/osal/task/pthread/autolock.cpp", 114 "$histreamer_root_dir/src/osal/task/pthread/condition_variable.cpp", 115 "$histreamer_root_dir/src/osal/task/pthread/jobutils.cpp", 116 "$histreamer_root_dir/src/osal/task/pthread/mutex.cpp", 117 "$histreamer_root_dir/src/osal/task/pthread/pipeline_threadpool.cpp", 118 "$histreamer_root_dir/src/osal/task/pthread/taskInner.cpp", 119 "$histreamer_root_dir/src/osal/task/pthread/thread.cpp",
|
H A D | CMakeLists.txt | 66 ${TOP_DIR}/media_foundation/src/osal/task/pthread/*.cpp 82 pthread
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-small-apx-library.md | 34 #include <pthread.h> 64 dprintf("ERROR: pthread condition wait failed, error code is %d!\n", rc); 104 dprintf("ERROR: pthread condition init failed, error code is %d!\n", rc); 112 dprintf("ERROR: pthread create failed, error code is %d!\n", rc); 141 dprintf("ERROR: pthread condition failed, error code is %d!\n", rc); 159 dprintf("ERROR: pthread join failed, error code is %d!\n", rc); 168 dprintf("ERROR: pthread condition destroy failed, error code is %d!\n", rc);
|
H A D | kernel-mini-appx-lib.md | 205 | \#include <pthread.h> | int pthread_cond_destroy(pthread_cond_t \*cond); | 销… 209 | \#include <pthread.h> | int pthread_mutex_unlock(pthread_mutex_t \*mutex); |… 212 | \#include <pthread.h> | pthread_t pthread_self(void); | 获取当前线程的ID | 216 | \#include <pthread.h> | int pthread_mutex_lock(pthread_mutex_t \*m); | 互斥锁加锁… 217 | \#include <pthread.h> | int pthread_mutex_trylock(pthread_mutex_t \*m); | 互斥… 218 | \#include <pthread.h> | int pthread_mutex_destroy(pthread_mutex_t \*m); | 销毁… 219 | \#include <pthread.h> | int pthread_attr_init(pthread_attr_t \*attr); | 初始化线… 225 | \#include <pthread.h> | int pthread_getname_np(pthread_t pthread, char<… 226 | \#include <pthread.h> | int pthread_setname_np(pthread_t pthread, const… 228 | \#include <pthread.h> | int pthread_cond_signal(pthread_cond_t \*c); | 解除被阻塞… [all …]
|
H A D | kernel-small-debug-user.md | 123 #include <pthread.h> 298 #include <pthread.h>
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/ |
H A D | thread_linux.c | 37 pthread_t pthread; member 102 if (pthread_equal(thread->pthread, pthread_self()) != 0) { in ThreadIsSelf() 117 pthread_join(thread->pthread, NULL); in ThreadStop() 159 (void)pthread_create(&thread->pthread, NULL, ThreadStartFunc, promise); in ThreadCreate()
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-mini-appx-lib.md | 205 | \#include <pthread.h> | int pthread_cond_destroy(pthread_cond_t \*cond); | Destroys a condi… 209 | \#include <pthread.h> | int pthread_mutex_unlock(pthread_mutex_t \*mutex); | Unlocks a mute… 212 | \#include <pthread.h> | pthread_t pthread_self(void); | Obtains the ID of the current threa… 216 | \#include <pthread.h> | int pthread_mutex_lock(pthread_mutex_t \*m); | Locks a mutex.| 217 | \#include <pthread.h> | int pthread_mutex_trylock(pthread_mutex_t \*m); | Attempts to lock … 218 | \#include <pthread.h> | int pthread_mutex_destroy(pthread_mutex_t \*m); | Destroys a mutex.| 219 | \#include <pthread.h> | int pthread_attr_init(pthread_attr_t \*attr); | Initializes a threa… 225 | \#include <pthread.h> | int pthread_getname_np(pthread_t pthread, char\*name, size_t len); … 226 | \#include <pthread.h> | int pthread_setname_np(pthread_t pthread, constchar \*name); | Sets… 228 | \#include <pthread.h> | int pthread_cond_signal(pthread_cond_t \*c); | Unblocks a thread.| [all …]
|
H A D | kernel-small-apx-library.md | 34 #include <pthread.h> 64 dprintf("ERROR: pthread condition wait failed, error code is %d!\n", rc); 104 dprintf("ERROR: pthread condition init failed, error code is %d!\n", rc); 112 dprintf("ERROR: pthread create failed, error code is %d!\n", rc); 141 dprintf("ERROR: pthread condition failed, error code is %d!\n", rc); 159 dprintf("ERROR: pthread join failed, error code is %d!\n", rc); 168 dprintf("ERROR: pthread condition destroy failed, error code is %d!\n", rc);
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_ipv6_client.cpp | 90 DhcpIpv6Client::DhcpIpv6Client(std::string ifname) : interfaceName(ifname), pthread(nullptr), runFl… in DhcpIpv6Client() 101 if (pthread != nullptr) { in ~DhcpIpv6Client() 102 pthread->join(); in ~DhcpIpv6Client() 103 delete pthread; in ~DhcpIpv6Client() 104 pthread = nullptr; in ~DhcpIpv6Client() 130 pthread = new std::thread([this]() { this->RunIpv6ThreadFunc(); }); in StartIpv6Thread() 131 if (pthread == nullptr) { in StartIpv6Thread()
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/ |
H A D | CMakeLists.txt | 22 set(CMAKE_C_FLAGS "-pthread -fstack-protector-all -fPIC -D_FORTIFY_SOURCE=2") 25 set(CMAKE_CXX_FLAGS "-pthread -fstack-protector-all -fPIC -D_FORTIFY_SOURCE=2 -march=armv7-a")
|
H A D | README_zh.md | 251 … set(CMAKE_CXX_FLAGS "-pthread -fstack-protector-all -fPIC -D_FORTIFY_SOURCE=2 -march=armv7-a") 262 … set(CMAKE_CXX_FLAGS "-pthread -fstack-protector-all -fPIC -D_FORTIFY_SOURCE=2 -march=armv8-a")
|
/ohos5.0/build/docs/ |
H A D | 编译构建调试文档.md | 206 -pthread 527 …[1/6] g++ -MMD -MF obj/libhello_static.hello_static.o.d -fPIC -pthread -c ../hello_static.cc -o… 528 …j/libhello_shared.hello_shared.o.d -DHELLO_SHARED_IMPLEMENTATION -fPIC -pthread -c ../hello_shar… 529 [3/6] g++ -MMD -MF obj/hello.hello.o.d -fPIC -pthread -c ../hello.cc -o obj/hello.hello.o 579 g++ -MMD -MF obj/hello.hello.o.d -fPIC -pthread -c ../hello.cc -o obj/hello.hello.o 580 …g++ -MMD -MF obj/libhello_shared.hello_shared.o.d -DHELLO_SHARED_IMPLEMENTATION -fPIC -pthread -… 582 …g++ -MMD -MF obj/libhello_static.hello_static.o.d -fPIC -pthread -c ../hello_static.cc -o obj/l… 598 g++ -MMD -MF obj/hello.hello.o.d -fPIC -pthread -c ../hello.cc -o obj/hello.hello.o
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_ipv6_client.h | 88 std::thread *pthread; variable
|
/ohos5.0/build/lite/config/test/ |
H A D | test.gni | 189 "-pthread", 232 "-pthread",
|
/ohos5.0/foundation/ai/ai_engine/services/server/ |
H A D | BUILD.gn | 30 "-pthread",
|
/ohos5.0/drivers/hdf_core/adapter/build/test_common/ |
H A D | BUILD.gn | 45 "-pthread",
|
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/ |
H A D | CMakeLists.txt | 88 pthread
|
/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-napi-ark-runtime.md | 88 #include <pthread.h>
|
H A D | use-napi-event-loop.md | 17 #include <pthread.h>
|
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/ |
H A D | CMakeLists.txt | 104 pthread
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-napi-ark-runtime.md | 73 #include <pthread.h>
|
H A D | use-napi-event-loop.md | 18 #include <pthread.h>
|
/ohos5.0/foundation/multimedia/media_foundation/ |
H A D | config.gni | 68 # enable ffrt task instead of pthread task
|
/ohos5.0/docs/zh-cn/application-dev/ffrt/ |
H A D | ffrt-development-guideline.md | 1259 * FFRT提供的类似pthread mutex 的性能实现。 1298 * 该功能能够避免pthread传统的pthread_mutex_t 在抢不到锁时陷入内核的问题,在使用得当的条件下将会有更好的性能。 1412 * FFRT提供的类似pthread 信号量的性能实现。 2000 #include <pthread.h> 2062 #include <pthread.h> 2141 #include <pthread.h>
|
/ohos5.0/docs/zh-cn/application-dev/ai/mindspore/ |
H A D | mindspore-lite-guidelines.md | 268 pthread
|