Home
last modified time | relevance | path

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

/AliOS-Things-master/components/uservice/src/
A Dselect.c11 struct timeval *timeout, void *semaphore) in select2() argument
21 if (semaphore && aos_sem_is_valid(semaphore)) { in select2()
22 aos_sem_wait(semaphore, tomeout_ms); in select2()
/AliOS-Things-master/components/linkkit/dev_model/deprecated/
A Dimpl_gateway.c170 int msgid, void *semaphore, in _linkkit_gateway_upstream_sync_callback_list_insert() argument
195 search_node->semaphore = semaphore; in _linkkit_gateway_upstream_sync_callback_list_insert()
1702 void *semaphore = NULL; in linkkit_gateway_subdev_register() local
1731 if (semaphore == NULL) { in linkkit_gateway_subdev_register()
1881 void *semaphore = NULL; in linkkit_gateway_subdev_unregister() local
2026 void *semaphore = NULL; in linkkit_gateway_subdev_login() local
2098 void *semaphore = NULL; in linkkit_gateway_subdev_logout() local
2227 void *semaphore = NULL; in linkkit_gateway_trigger_event_json_sync() local
2370 void *semaphore = NULL; in linkkit_gateway_post_property_json_sync() local
2559 void *semaphore = NULL; in linkkit_gateway_post_extinfos() local
[all …]
A Dimpl_gateway.h34 void *semaphore; member
/AliOS-Things-master/components/linkkit/dev_model/
A Dimpl_linkkit.c87 void *semaphore; member
333 int msgid, void *semaphore, in _iotx_linkkit_upstream_sync_callback_list_insert() argument
356 search_node->semaphore = semaphore; in _iotx_linkkit_upstream_sync_callback_list_insert()
1477 void *semaphore = NULL; in _iotx_linkkit_slave_connect() local
1553 if (semaphore == NULL) { in _iotx_linkkit_slave_connect()
1594 void *semaphore = NULL; in _iotx_linkkit_subdev_delete_topo() local
1614 if (semaphore == NULL) { in _iotx_linkkit_subdev_delete_topo()
1819 void *semaphore = NULL; in _iotx_linkkit_subdev_login() local
1829 if (semaphore == NULL) { in _iotx_linkkit_subdev_login()
1877 void *semaphore = NULL; in _iotx_linkkit_subdev_logout() local
[all …]
/AliOS-Things-master/components/linkkit/http2/
A Dhttp2_api.c412 HAL_SemaphorePost(handle->semaphore); in http2_io()
422 void *semaphore = NULL; in http2_stream_node_insert() local
441 semaphore = HAL_SemaphoreCreate(); in http2_stream_node_insert()
442 if (semaphore == NULL) { in http2_stream_node_insert()
446 node->semaphore = semaphore; in http2_stream_node_insert()
525 if (stream_handle->semaphore == NULL) { in IOT_HTTP2_Connect()
1114 HAL_SemaphoreDestroy(node->semaphore); in IOT_HTTP2_FS_Close()
1123 HAL_SemaphoreDestroy(node->semaphore); in IOT_HTTP2_FS_Close()
1192 HAL_SemaphoreDestroy(node->semaphore); in IOT_HTTP2_Stream_Close()
1232 HAL_SemaphoreDestroy(node->semaphore); in IOT_HTTP2_Disconnect()
[all …]
A Dhttp2_internal.h143 void *semaphore; member
/AliOS-Things-master/components/SDL2/src/audio/alios/
A DSDL_alios_audio.c84 SDL_sem *semaphore = SDL_CreateSemaphore(0); in AOS_DetectDevices() local
85 if (!semaphore) { in AOS_DetectDevices()
91 ALSA_hotplug_thread = SDL_CreateThread(ALSA_HotplugThread, "SDLHotplugALSA", semaphore); in AOS_DetectDevices()
93 SDL_SemWait(semaphore); /* wait for the first iteration to finish. */ in AOS_DetectDevices()
96 SDL_DestroySemaphore(semaphore); in AOS_DetectDevices()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/
A Dwifi_interactive_mode.c472 void *semaphore; in cmd_wifi_connect() local
505 semaphore = NULL; in cmd_wifi_connect()
512 semaphore = NULL; in cmd_wifi_connect()
527 semaphore = NULL; in cmd_wifi_connect()
536 semaphore); in cmd_wifi_connect()
572 void *semaphore; in cmd_wifi_connect_bssid() local
621 semaphore = NULL; in cmd_wifi_connect_bssid()
628 semaphore = NULL; in cmd_wifi_connect_bssid()
643 semaphore = NULL; in cmd_wifi_connect_bssid()
654 semaphore); in cmd_wifi_connect_bssid()
/AliOS-Things-master/components/posix/
A DREADME.md32 | |-- semaphore.h #POSIX信号量接口申明
52 |-- semaphore.c #POSIX信号量的实现
/AliOS-Things-master/components/SDL2/src/audio/alsa/
A DSDL_alsa_audio.c941 SDL_sem *semaphore = SDL_CreateSemaphore(0); in ALSA_DetectDevices() local
942 if (!semaphore) { in ALSA_DetectDevices()
948 ALSA_hotplug_thread = SDL_CreateThread(ALSA_HotplugThread, "SDLHotplugALSA", semaphore); in ALSA_DetectDevices()
950 SDL_SemWait(semaphore); /* wait for the first iteration to finish. */ in ALSA_DetectDevices()
953 SDL_DestroySemaphore(semaphore); in ALSA_DetectDevices()
/AliOS-Things-master/components/SDL2/src/video/khronos/vulkan/
A Dvulkan_win32.h135 VkSemaphore semaphore; member
162 VkSemaphore semaphore; member
A Dvulkan.hpp15057 && ( semaphore == rhs.semaphore ) in operator ==()
15074 Semaphore semaphore; member
32619 && ( semaphore == rhs.semaphore ) in operator ==()
32633 Semaphore semaphore; member
32690 && ( semaphore == rhs.semaphore ) in operator ==()
32704 Semaphore semaphore; member
32882 && ( semaphore == rhs.semaphore ) in operator ==()
32899 Semaphore semaphore; member
32975 && ( semaphore == rhs.semaphore ) in operator ==()
32991 Semaphore semaphore; member
[all …]
A Dvulkan_core.h2891 typedef void (VKAPI_PTR *PFN_vkDestroySemaphore)(VkDevice device, VkSemaphore semaphore, const VkAl…
3207 VkSemaphore semaphore,
4860 VkSemaphore semaphore; member
4890 …kDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, …
4919 VkSemaphore semaphore,
5414 VkSemaphore semaphore; member
5423 VkSemaphore semaphore; member
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/
A Dwifi_conf.h180 void *semaphore);
217 void *semaphore);
A Dwifi_conf.c543 void *semaphore) in wifi_connect() argument
644 if(semaphore == NULL) { in wifi_connect()
652 join_result->join_sema = semaphore; in wifi_connect()
680 if(semaphore == NULL) { in wifi_connect()
732 if(semaphore == NULL){ in wifi_connect()
753 void *semaphore) in wifi_connect_bssid() argument
851 if(semaphore == NULL) { in wifi_connect_bssid()
858 join_result->join_sema = semaphore; in wifi_connect_bssid()
870 if(semaphore == NULL) { in wifi_connect_bssid()
/AliOS-Things-master/components/SDL2/test/
A DREADME20 testsem Tests SDL's semaphore implementation
A Dtestvulkan.c564 static void createSemaphore(VkSemaphore *semaphore) in createSemaphore() argument
570 result = vkCreateSemaphore(vulkanContext.device, &createInfo, NULL, semaphore); in createSemaphore()
573 *semaphore = VK_NULL_HANDLE; in createSemaphore()
/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoamousetap.m160 * check in InitMouseEventTap, after we move the semaphore check
173 …/* We signal the runloop started semaphore *after* the run loop has started, indicating it's safe …
/AliOS-Things-master/components/cplusplus/
A DREADME.md34 ├── semaphore.cpp # AOS: Semaphore类
/AliOS-Things-master/components/SDL2/src/video/khronos/GLES2/
A Dgl2ext.h1709 typedef GLboolean (GL_APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore);
1710 typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, co…
1711 typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname,…
1717 GL_APICALL GLboolean GL_APIENTRY glIsSemaphoreEXT (GLuint semaphore);
1718 GL_APICALL void GL_APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLu…
1719 GL_APICALL void GL_APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint…
1727 typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLi…
1729 GL_APICALL void GL_APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd);
1737 typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handle…
1740 GL_APICALL void GL_APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, v…
[all …]

Completed in 275 milliseconds