bool qSemEnterForce ( int  semid,
int  semno,
int  maxwaitms,
bool *  forceflag 
)

Force to turn on the flag of semaphore.

Parameters:
semid semaphore identifier
semno semaphore number
maxwaitms maximum waiting micro-seconds to release
forceflag status will be stored, it can be NULL if you don't need this information
Returns:
true if successful, otherwise returns false
Note:
This will wait the semaphore to be released with in maxwaitms. If it it released by locker normally with in maxwaitms, forceflag will be set to false. But if maximum maxwaitms is exceed and the semaphore is released forcely, forceflag will be set to true.

Definition at line 218 of file qSem.c.


Generated on Mon Mar 26 07:00:51 2018 for JSOC_Documentation by  doxygen 1.5.7.1