Changeset 8:dba41f33ddce in xplcommon for src/xplcommon/WaitableEvent.h


Ignore:
Timestamp:
12/29/12 08:01:50 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Clarified the blocking and non-blocking behaviour and extended the test program to test both

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/xplcommon/WaitableEvent.h

    r7 r8  
    4444 * An event on which one can wait with a waiter.
    4545 */
    46 class WaitableEvent : public Waitable
     46class WaitableEvent : public Waitable, public Failable
    4747{
    4848public:
    4949    /**
    5050     * Construct the event.
     51     *
     52     * @param waiter the waiter to be used for waiting. If given, the
     53     * check() function will always return immediately. If not given,
     54     * the check() function may block and returns only when the event
     55     * is fired.
    5156     */
    5257    WaitableEvent(Waiter* waiter = 0);
Note: See TracChangeset for help on using the changeset viewer.