just::thread Pro adds gcc 6 support
Thursday, 21 July 2016
I am pleased to announce that just::thread Pro
now supports gcc 5 and 6 on Ubuntu Linux.
The code has also been refactored, so with Microsoft Visual Studio 2015, g++ 5
or g++ 6 you can use the just::thread Pro enhancements on top of the
platform-supplied version of the C++14 thread library. For older compilers, and
for MacOSX, the just::thread compatibility library is still required.
Dubbed just::thread Pro Standalone, the new build features all the same
facilities as the previous release:
- A multiple-producer single-consumer FIFO queue, ideal for sending messages to a particular thread
- A
synchronized_valueclass template for synchronizing access to a single object - A thread-safe hash map
- An Actor framework for simplified design of multi-threaded applications
- A variadic
jss::lock_guardclass template to allow acquiring multiple locks at once, like the new C++17std::lock_guard. - New facilities from the
Concurrency TS:
- A lock-free implementation of
atomic_shared_ptrandatomic_weak_ptr— see Anthony's earlier blog post onatomic_shared_ptr - Latches — signal waiting threads once a specified number of count-down events have occurred.
- Barriers — block a group of threads until they are all ready to proceed.
future::then()— schedule a task to run when a future becomes ready.when_any()— create a future that is ready when any of a set of futures is ready.when_all()— create a future that is ready when all of a set of futures are ready.
- A lock-free implementation of
Get your copy of just::thread Pro
Purchase your copy and get started now.
As usual, all customers with V2.x licenses of just::thread Pro will get a free
upgrade to the new just::thread Pro Standalone edition.
Posted by Anthony Williams
[/ news /] permanent link
Tags: multithreading, concurrency, C++11
Stumble It!
| Submit to Reddit
| Submit to DZone ![]()
If you liked this post, why not subscribe to the RSS feed
or Follow me on Twitter? You can also subscribe to this blog by email using the form on the left.
Design and Content Copyright © 2005-2025 Just Software Solutions Ltd. All rights reserved. | Privacy Policy
2 Comments
May be here is not the right place to ask, but are you planning updated to C++17 standard edition of your book about C++ concurrency?