/ohos5.0/foundation/multimedia/media_library/frameworks/utils/src/ |
H A D | cpu_utils.cpp | 62 if (pthread_setaffinity_np(pthread_self(), sizeof(cpuSet), &cpuSet) != 0) { in SetSelfThreadAffinity() 71 if (pthread_setaffinity_np(pthread_self(), sizeof(cpuSet), &cpuSet) != 0) { in ResetSelfThreadAffinity()
|
/ohos5.0/base/telephony/ril_adapter/services/vendor/src/ |
H A D | at_support.c | 224 if (pthread_equal(g_reader, pthread_self()) != 0) { in SendCommandLock() 263 if (pthread_equal(g_reader, pthread_self()) != 0) { in SendCommandNetWorksLock() 284 if (pthread_equal(g_reader, pthread_self()) != 0) { in SendCommandSmsLock()
|
/ohos5.0/foundation/communication/ipc/ipc/native/c/adapter/Liteos_m/ |
H A D | rpc_os_adapter.c | 22 return (int32_t)pthread_self(); // Use tid instead of pid on mini system in RpcGetPid()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/interfaces/mock/ |
H A D | win_glibc.cpp | 22 __attribute__((visibility("default"))) int pthread_self() in pthread_self() function
|
H A D | win_glibc.h | 20 __attribute__((visibility("default"))) int pthread_self();
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/ |
H A D | thread_linux.c | 73 ReactorSetThreadId(thread->reactor, (unsigned long)pthread_self()); in ThreadStartFunc() 102 if (pthread_equal(thread->pthread, pthread_self()) != 0) { in ThreadIsSelf()
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sync/ |
H A D | io_poller.cpp | 39 int ret = pthread_setschedparam(pthread_self(), SCHED_RR, ¶m); in RunForever() 41 FFRT_LOGW("[%d] set priority warn ret[%d] eno[%d]\n", pthread_self(), ret, errno); in RunForever()
|
H A D | delayed_worker.cpp | 113 int ret = pthread_setschedparam(pthread_self(), SCHED_RR, ¶m); in ThreadInit() 115 FFRT_LOGW("[%d] set priority warn ret[%d] eno[%d]\n", pthread_self(), ret, errno); in ThreadInit()
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/platform/src/ |
H A D | preferences_thread.cpp | 22 pthread_self(), in PthreadSetNameNp()
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/worker/ |
H A D | thread.cpp | 27 pthread_setname_np(pthread_self(), "WorkerThread"); in Start()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | rdb_platform.h | 53 return (uint64_t)pthread_self(); in GetThreadId()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/dynamic_component/ |
H A D | uv_task_wrapper_impl.cpp | 37 return pthread_self() == threadId_; in WillRunOnCurrentThread()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_monitor.cpp | 48 pthread_setname_np(pthread_self(), name.c_str()); in Run()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | trash_async_worker.cpp | 53 pthread_setname_np(pthread_self(), name.c_str()); in StartWorker()
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/ |
H A D | thread.cpp | 51 pthread_setname_np(pthread_self(), "OS_TaskWorker"); in Start()
|
/ohos5.0/foundation/resourceschedule/ffrt/test/testfunc/ |
H A D | util.cpp | 100 if (pthread_setaffinity_np(pthread_self(), sizeof(mask), &mask) == -1) { in set_cur_thread_cpu_affinity() 105 if (pthread_getaffinity_np(pthread_self(), sizeof(affinity), &affinity) == -1) { in set_cur_thread_cpu_affinity()
|
/ohos5.0/foundation/communication/netstack/utils/http_over_curl/src/ |
H A D | epoll_request_handler.cpp | 49 pthread_setname_np(pthread_self(), HTTP_WORK_THREAD); in Process()
|
/ohos5.0/base/request/request/test/unittest/cpp_test/fwkTest/src/ |
H A D | module_init_test.cpp | 76 ASSERT_EQ(result, static_cast<unsigned long>(pthread_self()));
|
/ohos5.0/foundation/filemanagement/app_file_service/test/unittest/remote_file_share/ |
H A D | remote_file_share_test.cpp | 162 int ret = pthread_getname_np(pthread_self(), pthreadName, sizeof(pthreadName)); 166 ret = pthread_setname_np(pthread_self(), errPthreadName.c_str()); 171 ret = pthread_setname_np(pthread_self(), pthreadNameStr.c_str());
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
H A D | media_scan_executor.cpp | 35 pthread_setname_np(pthread_self(), name.c_str()); in HandleScanExecution()
|
/ohos5.0/base/request/request/common/src/ |
H A D | module_init.cpp | 36 unsigned long ret = static_cast<unsigned long>(pthread_self()); in ThreadIdCallback()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/ |
H A D | dispatcher.cpp | 70 pthread_setname_np(pthread_self(), name_.c_str()); in Run()
|
/ohos5.0/base/telephony/call_manager/utils/include/ |
H A D | timer.h | 55 pthread_setname_np(pthread_self(), TIMER_START_THREAD); in start()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/task/ |
H A D | task_executor.cpp | 86 int32_t ret = pthread_setname_np(pthread_self(), TRIGGER_TASK); in TriggerTask()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_task_executor.cpp | 54 pthread_setname_np(pthread_self(), name.c_str()); in InitThreadPool()
|