Protium
Math and Design Features
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Protium::Threads::InSingleThread< Host, MutexPolicy >::Lock Class Reference

Dummy internal class which locks nothing. More...

#include <ThreadingPolicy.h>

Public Member Functions

 Lock ()
 On creation, does nothing. More...
 
 Lock (const InSingleThread &)
 For instance locking. More...
 
 Lock (const InSingleThread *)
 For static locking. More...
 

Detailed Description

template<class Host, class MutexPolicy = Mutex>
class Protium::Threads::InSingleThread< Host, MutexPolicy >::Lock

Dummy internal class which locks nothing.

Definition at line 67 of file ThreadingPolicy.h.

Constructor & Destructor Documentation

template<class Host , class MutexPolicy = Mutex>
Protium::Threads::InSingleThread< Host, MutexPolicy >::Lock::Lock ( )
inline

On creation, does nothing.

Definition at line 70 of file ThreadingPolicy.h.

template<class Host , class MutexPolicy = Mutex>
Protium::Threads::InSingleThread< Host, MutexPolicy >::Lock::Lock ( const InSingleThread )
inlineexplicit

For instance locking.

Definition at line 72 of file ThreadingPolicy.h.

template<class Host , class MutexPolicy = Mutex>
Protium::Threads::InSingleThread< Host, MutexPolicy >::Lock::Lock ( const InSingleThread )
inlineexplicit

For static locking.

Definition at line 74 of file ThreadingPolicy.h.