Modify

Opened 16 years ago

Closed 16 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:

Description

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.

Attachments (0)

Change History (2)

comment:1 Changed 16 years ago by bill_kempf

Logged In: YES 
user_id=180283

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 16 years ago by bill_kempf

Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain nobody.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.