Tasks and interrupts can post a semaphore, but only tasks are allowed to pend for a semaphore.A timeout value can be passed to the pend function.

  • 任务与中断都可以发送信号量,但只有任务可以请求信号量,可以向请求函数传入一个超时值。
目录 查词历史