Home
last modified time | relevance | path

Searched refs:millisec (Results 1 – 16 of 16) sorted by relevance

/AliOS-Things-master/components/cplusplus/
A Dmutex.cpp34 kstat_t Mutex::lock(uint32_t millisec) in lock() argument
38 if (millisec == 0) { in lock()
40 } else if (millisec == Mutex_WAIT_FOREVER){ in lock()
43 ticks = krhino_ms_to_ticks(millisec); in lock()
A Dtimer.cpp19 uint32_t millisec, in create() argument
24 if (millisec == 0) { in create()
26 } else if (millisec == Timer_WAIT_FOREVER){ in create()
29 ticks = krhino_ms_to_ticks(millisec); in create()
A Dsemaphore.cpp35 kstat_t Semaphore::wait(uint32_t millisec) in wait() argument
39 if (millisec == 0) { in wait()
41 } else if (millisec == Semaphore_WAIT_FOREVER){ in wait()
44 ticks = krhino_ms_to_ticks(millisec); in wait()
A Dqueue.cpp50 kstat_t Queue::receive(void *msg, size_t *size, uint32_t millisec) in receive() argument
54 if (millisec == 0) { in receive()
56 } else if (millisec == Queue_WAIT_FOREVER){ in receive()
59 ticks = krhino_ms_to_ticks(millisec); in receive()
A Dthread.cpp135 kstat_t thread::sleep(uint32_t millisec) in sleep() argument
139 if (millisec == 0) { in sleep()
141 } else if (millisec == Thread_WAIT_FOREVER){ in sleep()
144 ticks = krhino_ms_to_ticks(millisec); in sleep()
/AliOS-Things-master/hardware/chip/haas1000/drivers/rtos/rhino/cmsis/
A Dcmsis_os.h393 osStatus osDelay (uint32_t millisec);
401 osEvent osWait (uint32_t millisec);
441 osStatus osTimerStart (osTimerId timer_id, uint32_t millisec);
477 osEvent osSignalWait (int32_t signals, uint32_t millisec);
514 osStatus osMutexWait (osMutexId mutex_id, uint32_t millisec);
564 int32_t osSemaphoreWait (osSemaphoreId semaphore_id, uint32_t millisec);
681 osStatus osMessagePut (osMessageQId queue_id, uint32_t info, uint32_t millisec);
693 osEvent osMessageGet (osMessageQId queue_id, uint32_t millisec);
744 void *osMailAlloc (osMailQId queue_id, uint32_t millisec);
751 void *osMailCAlloc (osMailQId queue_id, uint32_t millisec);
[all …]
/AliOS-Things-master/components/amp/components/at/src/
A Dhal_at_os.c124 void atpsr_sleep_ms(const unsigned int millisec) in atpsr_sleep_ms() argument
126 aos_msleep(millisec); in atpsr_sleep_ms()
A Dat_internal.h128 void atpsr_sleep_ms(const unsigned int millisec);
/AliOS-Things-master/components/cplusplus/include/
A Dcpp_mutex.h52 kstat_t lock(uint32_t millisec);
A Dcpp_timer.h32 kstat_t create(const name_t *name, timer_cb_t cb, uint32_t millisec,
A Dcpp_semaphore.h44 kstat_t wait(uint32_t millisec);
A Dcpp_queue.h57 kstat_t receive(void *msg, size_t *size, uint32_t millisec);
A Dcpp_thread.h97 kstat_t sleep(uint32_t millisec);
/AliOS-Things-master/components/websocket/src/
A Drws_thread.c117 void rws_thread_sleep(const unsigned int millisec) { in rws_thread_sleep() argument
118 usleep(millisec * 1000); // 1s = 1'000'000 microsec. in rws_thread_sleep()
/AliOS-Things-master/hardware/chip/haas1000/drivers/apps/common/
A Dapp_spec_ostimer.h29 osStatus app_spec_timer_start (SPEC_TIMER_CTX_T *spec_timer_ctx, uint32_t millisec);
/AliOS-Things-master/components/websocket/include/
A Dlibrws.h548 RWS_API(void) rws_thread_sleep(const unsigned int millisec);

Completed in 15 milliseconds