/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | async_pool.rs | 120 let stack_size = 10; in sdv_async_pool_001() localVariable 124 .worker_stack_size(stack_size) in sdv_async_pool_001() 180 let stack_size = 20; in sdv_async_pool_002() localVariable 184 .worker_stack_size(stack_size) in sdv_async_pool_002() 240 let stack_size = 10; in sdv_async_pool_003() localVariable 244 .worker_stack_size(stack_size) in sdv_async_pool_003() 300 let stack_size = 20; in sdv_async_pool_004() localVariable 360 let stack_size = 10; in sdv_async_pool_005() localVariable 420 let stack_size = 20; in sdv_async_pool_006() localVariable 480 let stack_size = 10; in sdv_async_pool_007() localVariable [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/builder/ |
H A D | common_builder.rs | 55 pub(crate) stack_size: Option<usize>, 83 stack_size: None, in new() 169 pub fn worker_stack_size(mut self, stack_size: usize) -> Self { 170 if stack_size < 1 { 171 self.common.stack_size = Some(1); 173 self.common.stack_size = Some(stack_size);
|
H A D | multi_thread_builder.rs | 75 for (qos, stack_size) in self.common.stack_size_by_qos.iter() { in build_global() 76 ffrt_set_worker_stack_size(*qos, *stack_size as c_ulong); in build_global() 205 pub fn stack_size_by_qos(mut self, qos: Qos, stack_size: usize) -> Self { in stack_size_by_qos() 208 let stack_size = match stack_size { in stack_size_by_qos() localVariable 212 self.common.stack_size_by_qos.insert(qos, stack_size); in stack_size_by_qos() 218 pub fn worker_stack_size(self, stack_size: usize) -> Self { in worker_stack_size() 219 self.stack_size_by_qos(Qos::Default, stack_size) in worker_stack_size()
|
H A D | mod.rs | 173 assert_eq!(thread_pool_builder.common.stack_size, None); in ut_thread_pool_builder_new() 224 assert_eq!(thread_pool_builder.common.stack_size.unwrap(), 1); in ut_thread_pool_builder_stack_size() 227 assert_eq!(thread_pool_builder.common.stack_size.unwrap(), 1); in ut_thread_pool_builder_stack_size()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/ |
H A D | blocking_pool.rs | 66 stack_size: builder.stack_size, in new() 121 stack_size: Option<usize>, field 176 if let Some(stack_size) = self.inner.stack_size { in create_permanent_threads() 177 builder = builder.stack_size(stack_size); in create_permanent_threads() 235 if let Some(stack_size) = self.inner.stack_size { in spawn() 236 builder = builder.stack_size(stack_size); in spawn() 427 blocking_pool.inner.stack_size, in ut_blocking_pool_new() 428 thread_pool_builder.common.stack_size in ut_blocking_pool_new()
|
H A D | async_pool.rs | 382 stack_size: Option<usize>, field 425 stack_size: builder.common.stack_size, in new() 463 if let Some(stack_size) = self.inner.stack_size { in create_async_thread_pool() 464 builder = builder.stack_size(stack_size); in create_async_thread_pool() 971 async_pool_spawner.inner.stack_size, in ut_async_pool_spawner_new() 972 thread_pool_builder.common.stack_size in ut_async_pool_spawner_new()
|
/ohos5.0/docs/zh-cn/device-dev/reference/kernel/cmsis/ |
H A D | os_thread_attr__t.md | 23 | [stack_size](#stack_size) | 线程栈大小,单位:字节。 | 121 ### stack_size subsection 125 uint32_t osThreadAttr_t::stack_size
|
H A D | _c_m_s_i_s-_r_t_o_s.md | 2316 …不支持。<br/>- attr->stack_mem和attr->stack_size同时设置有效数据才能使用用户指定内存作为任务栈。<br/>- attr->…
|
/ohos5.0/foundation/resourceschedule/ffrt/src/eu/ |
H A D | co2_context.c | 122 …it_context(struct co2_context* ctx, void (*func)(void*), void* arg, void* stack, size_t stack_size) in co2_init_context() argument 124 if (stack_size < 0x4 * sizeof(uintptr_t)) { in co2_init_context() 128 uintptr_t stack_top = (uintptr_t)stack + stack_size - 0x2 * sizeof(uintptr_t); in co2_init_context()
|
H A D | co_routine_factory.cpp | 20 CoRoutine *CoRoutineAllocMem(std::size_t stack_size) in CoRoutineAllocMem() argument 22 return ffrt::QSimpleAllocator<CoRoutine>::AllocMem(stack_size); in CoRoutineAllocMem()
|
H A D | co_routine_factory.h | 23 CoRoutine *CoRoutineAllocMem(std::size_t stack_size);
|
H A D | co2_context.h | 57 …t_context(struct co2_context* ctx, void (*func)(void*), void* arg, void* stack, size_t stack_size);
|
H A D | co_routine.cpp | 348 GetCoEnv()->runningCo = AllocNewCoRoutine(task->stack_size); in CoAlloc() 350 … if (GetCoEnv()->runningCo->allocatedSize != task->stack_size) { // stack size not match, alloc one in CoAlloc() 352 GetCoEnv()->runningCo = AllocNewCoRoutine(task->stack_size); in CoAlloc()
|
/ohos5.0/foundation/resourceschedule/ffrt/interfaces/kits/cpp/ |
H A D | task.h | 162 inline task_attr& stack_size(uint64_t size) in stack_size() function 175 inline uint64_t stack_size() const in stack_size() function 744 static inline ffrt_error_t set_worker_stack_size(qos qos_, size_t stack_size) in set_worker_stack_size() argument 746 return ffrt_set_worker_stack_size(qos_, stack_size); in set_worker_stack_size()
|
/ohos5.0/foundation/resourceschedule/ffrt/src/core/ |
H A D | task.cpp | 443 ffrt_error_t ffrt_set_worker_stack_size(ffrt_qos_t qos, size_t stack_size) 445 if (qos < ffrt::QoS::Min() || qos >= ffrt::QoS::Max() || stack_size < PTHREAD_STACK_MIN) { 446 FFRT_LOGE("qos [%d] or stack size [%d] is invalid.", qos, stack_size); 463 groupCtl[qos].workerStackSize = (stack_size - 1 + static_cast<size_t>(pageSize)) &
|
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
H A D | hks_curve25519_test.c | 103 attr.stack_size = TEST_TASK_STACK_SIZE; in LITE_TEST_CASE()
|
/ohos5.0/foundation/resourceschedule/ffrt/src/tm/ |
H A D | task_base.h | 67 uint64_t stack_size = STACK_SIZE; variable
|
H A D | cpu_task.cpp | 104 stack_size = std::max(attr->stackSize_, MIN_STACK_SIZE); in CPUEUTask()
|
H A D | queue_task.cpp | 46 stack_size = std::max(attr->stackSize_, MIN_STACK_SIZE); in QueueTask()
|
/ohos5.0/foundation/resourceschedule/ffrt/interfaces/kits/c/ |
H A D | task.h | 303 FFRT_C_API ffrt_error_t ffrt_set_worker_stack_size(ffrt_qos_t qos, size_t stack_size);
|
/ohos5.0/docs/zh-cn/device-dev/guide/ |
H A D | device-wlan-led-control.md | 40 attr.stack_size = LED_TASK_STACK_SIZE;
|
H A D | device-wlan-sdk.md | 161 uint32_t stack_size; ///< size of stack 193 attr.stack_size = para->size;
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/swiper/SwiperA13/ |
H A D | index.css | 98 .stack_size {
|
/ohos5.0/docs/en/device-dev/guide/ |
H A D | device-wlan-led-control.md | 40 attr.stack_size = LED_TASK_STACK_SIZE;
|
H A D | device-wlan-sdk.md | 152 uint32_t stack_size; ///< size of stack 184 attr.stack_size = para->size;
|