Changeset 35:f8a5b321d0c3 in xplcommon for src/xplcommon/Thread.h


Ignore:
Timestamp:
01/03/13 06:57:15 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added support for detached threads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/xplcommon/Thread.h

    r20 r35  
    5353
    5454public:
     55    /**
     56     * Construct the thread.
     57     *
     58     * @param detached if true, the thread will be created as a
     59     * detached one, i.e. it can't be joined later on. The thread
     60     * object will also be deleted when its run() function has
     61     * finished.
     62     */
     63    Thread(bool detached = false);
     64
    5565    /**
    5666     * Virtual destructor.
Note: See TracChangeset for help on using the changeset viewer.