Amazon FreeRTOS:
POSIX
|
返回主页↑ |
标准符号常量和类型。 更多...
#include "FreeRTOS_POSIX/sys/types.h"
函数 | |
unsigned | sleep (unsigned seconds) |
在一段时间内暂停执行。 更多... | |
int | usleep (useconds_t usec) |
每隔几微秒暂停执行。 更多... | |
unsigned sleep | ( | unsigned | seconds | ) |
在一段时间内暂停执行。
http://pubs.opengroup.org/onlinepubs/9699919799/functions/sleep.html
[in] | seconds | 暂停执行的秒数。 |
0 | -成功完成后 |
int usleep | ( | useconds_t | usec | ) |
每隔几微秒暂停执行。
这是一个有用的非 POSIX 函数。
[in] | usec | 暂停执行的微秒数。 |
0 | -成功完成后 |