Opened 17 years ago

Closed 17 years ago

#15 closed Feature Requests (None)

thread class needs join() with timeout

Reported by: nobody Owned by: nobody
Milestone: Component: thread
Version: None Severity:
Keywords: Cc:


I think Boost's thread class could be well served if there was a member function thread::join(double 
timeout) in addition to the join() that blocks forever.  Most other thread classes I have used have 
implemented this very useful feature.  In many respects it is not that different from the try_lock 
idiom Boost already employs for its mutexes.

Change History (2)

comment:1 Changed 17 years ago by bill_kempf

Logged In: YES 

This was considered during design and was rejected.  See 
the list archives for rationale.  To start further 
discussion please post to the list.

comment:2 Changed 17 years ago by bill_kempf

Status: assignedclosed
Note: See TracTickets for help on using tickets.