Opened 10 years ago

Closed 10 years ago

#7594 closed Feature Requests (fixed)

Allow to disable thread interruptions

Reported by: viboes Owned by: viboes
Milestone: Boost 1.53.0 Component: thread
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

There is a tickets requesting a condition_variable that should be as efficient as if it was hand written. The fact that boost::thread are interruptible makes condition_variables less efficient that when the threads are not interruptible as they are interruption points.

One valid alternative on some contexts could be to disallows interruption.

Attachments (2)

7594.patch (68.8 KB ) - added by viboes 10 years ago.
Added fixes and tests
7594_2.patch (70.0 KB ) - added by viboes 10 years ago.
More fixes

Download all attachments as: .zip

Change History (10)

comment:1 by viboes, 10 years ago

Status: newassigned
Summary: Allow to disallow threas interruptionsAllow to disallow thread interruptions

comment:2 by viboes, 10 years ago

Milestone: To Be Determined

comment:3 by viboes, 10 years ago

Summary: Allow to disallow thread interruptionsAllow to disable thread interruptions

comment:4 by viboes, 10 years ago

Committed in trunk [81105][81106].

comment:5 by viboes, 10 years ago

Milestone: Boost 1.53.0

by viboes, 10 years ago

Attachment: 7594.patch added

Added fixes and tests

comment:6 by viboes, 10 years ago

Committed revision [81667].

comment:7 by viboes, 10 years ago

Committed in trunk revision [81672].

by viboes, 10 years ago

Attachment: 7594_2.patch added

More fixes

comment:8 by viboes, 10 years ago

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