Opened 3 years ago

Closed 3 years ago

#953 closed request (fixed)

replace boost::thread with std::thread

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.18
Component: utility Version: trunk
Keywords: Cc:


It seems thread is not exposed in the public (or protected) API, which would allow us to replace all boost::thread with std::thread. If not for other reasons, it will avoid complexity linking to 3rd party libraries.

Change History (6)

comment:1 Changed 3 years ago by Peter

In 3946:

use mutex and locks from std:: rather than boost::. refs #953

comment:2 Changed 3 years ago by Peter

In 3948:

replace boost::thread with std::thread in Scheduler. refs #953

comment:3 Changed 3 years ago by Peter

In 3949:

use std::thread rather than boost::thread in test, refs #953

comment:4 Changed 3 years ago by Peter

Owner: changed from Jari Häkkinen to Peter
Status: newaccepted

comment:5 Changed 3 years ago by Peter

In 3959:

use std::mutex and friends instead of boost variants. refs #953

comment:6 Changed 3 years ago by Peter

Resolution: fixed
Status: acceptedclosed

In 3960:

closes #953. Since we are no longer using libboost_thread (or
underlying libbost_system), stop linking agaist them. Instead look for
needed compiler and extra LIBS needed for thread support.

Note: See TracTickets for help on using tickets.