|
From: Hans D. <dul...@us...> - 2000-11-15 22:32:11
|
Update of /cvsroot/corelinux/corelinux/corelinux In directory slayer.i.sourceforge.net:/tmp/cvs-serv18889 Modified Files: EventSemaphore.hpp Log Message: Added post() Index: EventSemaphore.hpp =================================================================== RCS file: /cvsroot/corelinux/corelinux/corelinux/EventSemaphore.hpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** EventSemaphore.hpp 2000/09/23 04:45:24 1.6 --- EventSemaphore.hpp 2000/11/15 22:32:06 1.7 *************** *** 54,59 **** Semaphore from the SemaphoreGroup @param aLimit the maximum number of listeners. ! aLimit < 0 : infinite number of listeners, ! aLimit >= 0 : finite number of listeners @param Recursive true if recursion enabled @param Balking true if balking enabled --- 54,59 ---- Semaphore from the SemaphoreGroup @param aLimit the maximum number of listeners. ! @arg aLimit < 0 : infinite number of listeners, ! @arg aLimit >= 0 : finite number of listeners @param Recursive true if recursion enabled @param Balking true if balking enabled *************** *** 85,88 **** --- 85,95 ---- // + /** + Indicate owner commitment to trigger the event + after a finite amount of time. + */ + SemaphoreOperationStatus post( void ) + throw( SemaphoreException ); + /** Wait for the event associated with this semaphore to *************** *** 91,95 **** virtual SemaphoreOperationStatus lockWithWait( void ) ! throw(SemaphoreException); /** --- 98,102 ---- virtual SemaphoreOperationStatus lockWithWait( void ) ! throw( SemaphoreException ); /** *************** *** 98,102 **** virtual SemaphoreOperationStatus lockWithNoWait( void ) ! throw(SemaphoreException); /// Request the semaphore but timeout if not available --- 105,109 ---- virtual SemaphoreOperationStatus lockWithNoWait( void ) ! throw( SemaphoreException ); /// Request the semaphore but timeout if not available *************** *** 108,112 **** virtual SemaphoreOperationStatus release( void ) ! throw(SemaphoreException); /** --- 115,119 ---- virtual SemaphoreOperationStatus release( void ) ! throw( SemaphoreException ); /** *************** *** 114,122 **** semaphore. @param aLimit the maximum number of listeners. ! aLimit < 0: infinite number of listeners, ! aLimit >= 0: finite number of listeners, */ ! virtual void setLimit ( Counter aLimit ); /** --- 121,129 ---- semaphore. @param aLimit the maximum number of listeners. ! @arg aLimit < 0: infinite number of listeners, ! @arg aLimit >= 0: finite number of listeners, */ ! virtual void setLimit ( Counter aLimit ) throw ( SemaphoreException ); /** |