libiqxmlrpc
0.12.12
Main Page
Namespaces
Classes
Files
File List
libiqxmlrpc
lock.h
1
// Libiqxmlrpc - an object-oriented XML-RPC solution.
2
// Copyright (C) 2011 Anton Dedov
3
4
#ifndef _libiqnet_lock_h_
5
#define _libiqnet_lock_h_
6
7
#include "api_export.h"
8
9
namespace
iqnet
10
{
11
13
class
LIBIQXMLRPC_API
Null_lock
{
14
public
:
15
struct
scoped_lock
{
16
scoped_lock
(
Null_lock
&) {}
17
~
scoped_lock
() {}
18
19
void
lock() {}
20
void
unlock() {}
21
};
22
23
void
lock() {}
24
void
unlock() {}
25
};
26
27
}
// namespace iqnet
28
29
#endif
iqnet
Object-oriented networking/multithreading infrastructure.
Definition:
acceptor.h:11
iqnet::Null_lock
Class which provides null synchronization.
Definition:
lock.h:13
iqnet::Null_lock::scoped_lock
Definition:
lock.h:15
Generated by
1.8.10