Monday, 19 May 2014
I am pleased to announce that version 2.0 of
just::thread, our C++11 and
C++14 Thread Library has just been released with new features and support for
This release includes the new
std::shared_lock from C++14, which allow for multiple readers to hold a shared lock
on a mutex or one writer to hold an exclusive lock.
Also included are extensions to the futures from the upcoming C++ Concurrency
Technical Specification in the form of
std::shared_future<> now have an additional member
then()" which allows a further task to be scheduled when
the future becomes "ready". This allows for improved support for asynchronous
There are also new functions:
jss::when_all which encapsulate a set of futures into a single
future which becomes ready when either one or all of the provided futures
becomes ready. This can be used with continuations to schedule asynchronous
tasks to run when the prerequisites are ready.
Finally, a new lock wrapper
jss::generic_lock_guard is provided. This is a
concrete type rather than a template, and will lock any type of mutex which
provides lock and unlock member functions.
This release also includes support for Microsoft Visual Studio 2013 and gcc 4.8.
Get your copy of Just::Thread
Purchase your copy and get started with the C++11 and C++14 thread library now.