Home
last modified time | relevance | path

Searched refs:pthread (Results 1 – 25 of 46) sorted by relevance

12

/ohos5.0/foundation/multimedia/media_foundation/src/
H A DBUILD.gn113 "$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 DCMakeLists.txt66 ${TOP_DIR}/media_foundation/src/osal/task/pthread/*.cpp
82 pthread
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-apx-library.md34 #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 Dkernel-mini-appx-lib.md205 | \#include&nbsp;&lt;pthread.h&gt; | int&nbsp;pthread_cond_destroy(pthread_cond_t&nbsp;\*cond); | 销…
209 | \#include&nbsp;&lt;pthread.h&gt; | int&nbsp;pthread_mutex_unlock(pthread_mutex_t&nbsp;\*mutex); |…
212 | \#include&nbsp;&lt;pthread.h&gt; | pthread_t&nbsp;pthread_self(void); | 获取当前线程的ID |
216 | \#include&nbsp;&lt;pthread.h&gt; | int&nbsp;pthread_mutex_lock(pthread_mutex_t&nbsp;\*m); | 互斥锁加锁…
217 | \#include&nbsp;&lt;pthread.h&gt; | int&nbsp;pthread_mutex_trylock(pthread_mutex_t&nbsp;\*m); | 互斥…
218 | \#include&nbsp;&lt;pthread.h&gt; | int&nbsp;pthread_mutex_destroy(pthread_mutex_t&nbsp;\*m); | 销毁…
219 | \#include&nbsp;&lt;pthread.h&gt; | int&nbsp;pthread_attr_init(pthread_attr_t&nbsp;\*attr); | 初始化线…
225 | \#include&nbsp;&lt;pthread.h&gt; | int&nbsp;pthread_getname_np(pthread_t&nbsp;pthread,&nbsp;char<…
226 | \#include&nbsp;&lt;pthread.h&gt; | int&nbsp;pthread_setname_np(pthread_t&nbsp;pthread,&nbsp;const…
228 | \#include&nbsp;&lt;pthread.h&gt; | int&nbsp;pthread_cond_signal(pthread_cond_t&nbsp;\*c); | 解除被阻塞…
[all …]
H A Dkernel-small-debug-user.md123 #include <pthread.h>
298 #include <pthread.h>
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/
H A Dthread_linux.c37 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 Dkernel-mini-appx-lib.md205 | \#include &lt;pthread.h&gt; | int pthread_cond_destroy(pthread_cond_t \*cond); | Destroys a condi…
209 | \#include &lt;pthread.h&gt; | int pthread_mutex_unlock(pthread_mutex_t \*mutex); | Unlocks a mute…
212 | \#include &lt;pthread.h&gt; | pthread_t pthread_self(void); | Obtains the ID of the current threa…
216 | \#include &lt;pthread.h&gt; | int pthread_mutex_lock(pthread_mutex_t \*m); | Locks a mutex.|
217 | \#include &lt;pthread.h&gt; | int pthread_mutex_trylock(pthread_mutex_t \*m); | Attempts to lock …
218 | \#include &lt;pthread.h&gt; | int pthread_mutex_destroy(pthread_mutex_t \*m); | Destroys a mutex.|
219 | \#include &lt;pthread.h&gt; | int pthread_attr_init(pthread_attr_t \*attr); | Initializes a threa…
225 | \#include &lt;pthread.h&gt; | int pthread_getname_np(pthread_t pthread, char\*name, size_t len); …
226 | \#include &lt;pthread.h&gt; | int pthread_setname_np(pthread_t pthread, constchar \*name); | Sets…
228 | \#include &lt;pthread.h&gt; | int pthread_cond_signal(pthread_cond_t \*c); | Unblocks a thread.|
[all …]
H A Dkernel-small-apx-library.md34 #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 Ddhcp_ipv6_client.cpp90 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 DCMakeLists.txt22 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 DREADME_zh.md251 … 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编译构建调试文档.md206 -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 Ddhcp_ipv6_client.h88 std::thread *pthread; variable
/ohos5.0/build/lite/config/test/
H A Dtest.gni189 "-pthread",
232 "-pthread",
/ohos5.0/foundation/ai/ai_engine/services/server/
H A DBUILD.gn30 "-pthread",
/ohos5.0/drivers/hdf_core/adapter/build/test_common/
H A DBUILD.gn45 "-pthread",
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/
H A DCMakeLists.txt88 pthread
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-napi-ark-runtime.md88 #include <pthread.h>
H A Duse-napi-event-loop.md17 #include <pthread.h>
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/
H A DCMakeLists.txt104 pthread
/ohos5.0/docs/en/application-dev/napi/
H A Duse-napi-ark-runtime.md73 #include <pthread.h>
H A Duse-napi-event-loop.md18 #include <pthread.h>
/ohos5.0/foundation/multimedia/media_foundation/
H A Dconfig.gni68 # enable ffrt task instead of pthread task
/ohos5.0/docs/zh-cn/application-dev/ffrt/
H A Dffrt-development-guideline.md1259 * 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 Dmindspore-lite-guidelines.md268 pthread

12