toast::async::lockable< T > Class Template Reference
[toast asynchronous library]

#include <toast/async/lockable.hpp>

List of all members.


Detailed Description

template<typename T>
class toast::async::lockable< T >

A convenience wrapper around T for synchronizing its use across threads.

toast::lockable<T> is a wrapper class that requires users to create a toast::locked<T> in order to access T. To create a lockable you can pass its constructor the same arguments you would pass to T itself.

Friends

class locked


The documentation for this class was generated from the following file:

SourceForge.net Logo