Opened 10 years ago
Closed 8 years ago
#7860 closed Bugs (fixed)
smart_ptr's yield_k and spinlock utilities can improve spinlock-based interprocess sychronization primitives
Reported by: | Ion Gaztañaga | Owned by: | Ion Gaztañaga |
---|---|---|---|
Milestone: | Boost 1.54.0 | Component: | interprocess |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | Cc: | francisco.mailing.lists@… |
Description
See:
http://www.boost.org/doc/libs/1_52_0/boost/smart_ptr/detail/yield_k.hpp
and
http://www.boost.org/doc/libs/1_52_0/boost/smart_ptr/detail/spinlock.hpp
for internal thread-synchronization code that could be used to improve Interprocess spin-based synchronization primitives.
Change History (2)
comment:1 by , 10 years ago
Cc: | added |
---|
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The new method was added in Boost 1.55, in commit:
SVN: r85505 GIT:SHA-1: da01f2f69c4837ae283d8d06782b07aa32d8dca1
A new spin_wait class was developed:
http://www.boost.org/doc/libs/1_55_0/boost/interprocess/sync/spin/wait.hpp
This internal class tries to generalize spin_k and it's used in all spin-based synchronization primivitives.