Other Parts Discussed in Thread: SYSBIOS
Hi
Next Information is about Semaphore_pend:
------------------------------------------------------------------------------
Name: Semaphore_pend
Prototype: Bool Semaphore_pend( Semaphore_Handle handle, UInt32 timeout );
Description:
Wait for a semaphore
If the semaphore count is greater than zero (available), this function decrements the count and returns
TRUE. If the semaphore count is zero (unavailable), this function suspends execution of the current task
until post() is called or the timeout expires.
Package: ti.sysbios.knl
Product: TI-RTOS for CC13XX and CC26XX 2.16.0.08
Header files:
ti/sysbios/knl/Semaphore.h
--------------------------------------------------------------------------------
The UInt32 timeout has a option BIOS_WAIT_FOREVER , What I want to know BIOS_WAIT_FOREVER is really forever or just a long time like 12 Hours or more.
Lin Kejian