Home
last modified time | relevance | path

Searched refs:semaphores (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-mini-basic-ipc-sem.md16 …hore counter is reduced to **0** and the tasks that need to obtain the semaphores will be blocked.…
43semaphores: Request memory for the semaphores configured (the number of semaphores can be configur…
45 Creating a semaphore: Obtain a semaphore from the linked list for unused semaphores and set its ini…
47 …ocks the task and adds the task to the end of a task queue waiting for semaphores. The wait timeou…
51 …sets a semaphore in use to the unused state and inserts it to the linked list of unused semaphores.
79 > As interrupts cannot be blocked, semaphores cannot be requested in block mode for interrupts.
H A Dkernel-small-basic-trans-semaphore.md45 …cate memory for the semaphores (the number of semaphores is specified by the **LOSCFG_BASE_IPC_SEM…
49 …Obtain a semaphore from the linked list of unused semaphores and assign an initial value to the se…
53 …, the task is blocked and added to the end of a task queue waiting for semaphores. The wait timeou…
61 Set a semaphore in use to the unused state and add it to the linked list of unused semaphores.
102 > As interrupts cannot be blocked, semaphores cannot be requested in block mode for interrupts.
H A Dkernel-small-debug-shell-cmd-sem.md6 This command is used to query information about kernel semaphores.
21 | fulldata | Displays information about all semaphores in use. <br/>The displayed information inclu…
H A Dkernel-small-debug-shell-cmd-sysinfo.md6 …y the resource usage of the current operating system, including tasks, semaphores, mutexes, queues…
H A Dkernel-small-debug-shell-overview.md7 - System commands: commands used to query information, such as system tasks, semaphores, system sof…
H A Dkernel-small-basic-process-thread.md26 …(blocked due to delays), and pendtime (blocked by waiting timeout of locks, events, or semaphores).
43 …When a running task is blocked (for example, is pended, delayed, or reading semaphores), its state…
H A Dkernel-small-overview.md49 - Kernel communication: supports events, semaphores, mutexes, and queues.
H A Dkernel-mini-basic-task.md52 …When a running task is blocked (suspended, delayed, or reading semaphores), it will be inserted to…
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dswapchain_vk.cpp339 plat_.swapchainImages.semaphores.resize(realImageCount); in SwapchainVk()
384 &plat_.swapchainImages.semaphores[idx])); // pSemaphore in SwapchainVk()
411 for (const auto semaphore : plat_.swapchainImages.semaphores) { in ~SwapchainVk()
457 currSemaphoreIdx_ = (currSemaphoreIdx_ + 1) % plat_.swapchainImages.semaphores.size(); in GetNextAcquireSwapchainSemaphoreIndex()
H A Dswapchain_vk.h39 BASE_NS::vector<VkSemaphore> semaphores; member
H A Drender_backend_vk.cpp188 PLUGIN_ASSERT(semaphoreIdx < platSwapchain.swapchainImages.semaphores.size()); in AcquirePresentationInfo()
189 pi.swapchainSemaphore = platSwapchain.swapchainImages.semaphores[semaphoreIdx]; in AcquirePresentationInfo()
506 …VkSemaphore semaphores[maxSignalSemaphoreCount] = { VK_NULL_HANDLE, VK_NULL_HANDLE, VK_NULL_HANDLE, in RenderProcessSubmitCommandLists() local
526semaphores[signalSemaphoreCount++] = gs->GetPlatformData().semaphore; in RenderProcessSubmitCommandLists()
537semaphores[signalSemaphoreCount++] = commandBufferSubmitter_.presentationWaitSemaphore; in RenderProcessSubmitCommandLists()
543 semaphores[signalSemaphoreCount++] = in RenderProcessSubmitCommandLists()
548 semaphores[signalSemaphoreCount++] = cmdSubmitterRef.semaphore; in RenderProcessSubmitCommandLists()
561 (signalSemaphoreCount == 0) ? nullptr : semaphores, // pSignalSemaphores in RenderProcessSubmitCommandLists()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_surface.cpp506 std::vector<GrBackendSemaphore> semaphores; in Wait() local
507 semaphores.reserve(count); in Wait()
511 semaphores.emplace_back(backendSemaphore); in Wait()
513 skSurface_->wait(count, semaphores.data()); in Wait()
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-utils-guide.md15 - APIs for read/write locks, semaphores, timers, threads, and thread pools
/ohos5.0/docs/en/readme/
H A Dutils.md17 - APIs for read/write locks, semaphores, timers, threads, and thread pools
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-overview-foundation.md47 …operation APIs, including the APIs for the memory, locks, threads, and semaphores, to shield opera…
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/include/
H A Dgl2ext_entries.in577 HOOK_API_ENTRY(void, glGenSemaphoresEXT, GLsizei n, GLuint *semaphores)
578 CALL_HOOK_API(glGenSemaphoresEXT, n, semaphores)
580 HOOK_API_ENTRY(void, glDeleteSemaphoresEXT, GLsizei n, const GLuint *semaphores)
581 CALL_HOOK_API(glDeleteSemaphoresEXT, n, semaphores)
1459 HOOK_API_ENTRY(void, glCreateSemaphoresNV, GLsizei n, GLuint *semaphores)
1460 CALL_HOOK_API(glCreateSemaphoresNV, n, semaphores)
/ohos5.0/docs/en/device-dev/porting/
H A Dporting-minichip-kernel.md129 | LOSCFG_BASE_IPC_SEM_LIMIT | Maximum number of semaphores.| 100 |
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-Log-guide.md147 **Note:** Concurrency control objects may be locks, critical sections, and semaphores.
H A DOpenHarmony-hdf-coding-guide.md538 …interfaces, including memory management, threads, mutexes, spin locks, semaphores, timers, files, …
/ohos5.0/docs/en/design/
H A Dhdi-design-specifications.md377 …gn. To ensure correct processing of reentrant interfaces, use locks or semaphores to protect criti…