Opened 12 years ago

Closed 11 years ago

#5423 closed Patches (fixed)

thread issues with C++0x

Reported by: Chris Jefferson Owned by: viboes
Milestone: Boost 1.49.0 Component: thread
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

This patch fixes some issues with methods in boost::thread clashing with names in C++0x, in particular try_lock and lock.

I did not try to do a full evaluation of every occurrence of these methods (as some are member functions and I had trouble figuring out which was which), so I did the appropriate fixes to make the test-suite pass again.

With this patch clang-libc++-0x passes, and clang-libc++, clang and g++ still pass as well as before.

Attachments (1)

thread.patch (1.5 KB ) - added by Chris Jefferson 12 years ago.
Thread patch

Download all attachments as: .zip

Change History (3)

by Chris Jefferson, 12 years ago

Attachment: thread.patch added

Thread patch

comment:1 by viboes, 11 years ago

Milestone: To Be DeterminedBoost 1.49.0
Owner: changed from Anthony Williams to viboes
Status: newassigned

Committed in trunk revision 75786.

comment:2 by viboes, 11 years ago

Resolution: fixed
Status: assignedclosed

Committed in release at #76291

Note: See TracTickets for help on using tickets.