Searched refs:semaphore_t (Results 1 – 12 of 12) sorted by relevance
23 struct semaphore_t;24 typedef struct semaphore_t semaphore_t; typedef29 semaphore_t* semaphore_new(unsigned int value);33 void semaphore_free(semaphore_t* semaphore);37 void semaphore_wait(semaphore_t* semaphore);42 bool semaphore_try_wait(semaphore_t* semaphore);45 void semaphore_post(semaphore_t* semaphore);57 int semaphore_get_fd(const semaphore_t* semaphore);
83 semaphore_t* register_client_callback_sem_;84 semaphore_t* scan_result_callback_sem_;85 semaphore_t* listen_callback_sem_;87 semaphore_t* register_server_callback_sem_;88 semaphore_t* service_added_callback_sem_;89 semaphore_t* characteristic_added_callback_sem_;90 semaphore_t* descriptor_added_callback_sem_;91 semaphore_t* service_started_callback_sem_;92 semaphore_t* service_stopped_callback_sem_;93 semaphore_t* service_deleted_callback_sem_;
39 struct semaphore_t { struct43 semaphore_t* semaphore_new(unsigned int value) { in semaphore_new() argument44 semaphore_t* ret = static_cast<semaphore_t*>(osi_malloc(sizeof(semaphore_t))); in semaphore_new()55 void semaphore_free(semaphore_t* semaphore) { in semaphore_free()62 void semaphore_wait(semaphore_t* semaphore) { in semaphore_wait()72 bool semaphore_try_wait(semaphore_t* semaphore) { in semaphore_try_wait()98 void semaphore_post(semaphore_t* semaphore) { in semaphore_post()107 int semaphore_get_fd(const semaphore_t* semaphore) { in semaphore_get_fd()
32 semaphore_t* semaphore; // NULL semaphore means immediate future
33 semaphore_t* enqueue_sem;34 semaphore_t* dequeue_sem;
53 semaphore_t* start_sem;
129 static semaphore_t* alarm_expired;
17 semaphore_t* semaphore;36 semaphore_t* semaphore = semaphore_new(0); in TEST_F()42 semaphore_t* semaphore = semaphore_new(3); in TEST_F()54 semaphore_t* semaphore = semaphore_new(0); in TEST_F()66 semaphore_t* semaphore = semaphore_new(0); in TEST_F()74 semaphore_t* semaphore = semaphore_new(0); in TEST_F()
35 static semaphore_t* semaphore;
70 void ClearSemaphore(semaphore_t* sem);97 semaphore_t* adapter_properties_callback_sem_;98 semaphore_t* remote_device_properties_callback_sem_;99 semaphore_t* adapter_state_changed_callback_sem_;100 semaphore_t* discovery_state_changed_callback_sem_;
75 void BluetoothTest::ClearSemaphore(semaphore_t* sem) { in ClearSemaphore()
70 semaphore_t* semaphore = semaphore_new(0); in init_stack()90 semaphore_t* semaphore = semaphore_new(0); in clean_up_stack()104 semaphore_t* semaphore = (semaphore_t*)context; in event_init_stack()221 semaphore_t* semaphore = (semaphore_t*)context; in event_clean_up_stack()