PTLib
Version 2.10.10
Main Page
Namespaces
Classes
Files
File List
File Members
syncpoint.h
Go to the documentation of this file.
1
/*
2
* syncpoint.h
3
*
4
* Single thread synchronisation point (event) class.
5
*
6
* Portable Tools Library
7
*
8
* Copyright (c) 1993-1998 Equivalence Pty. Ltd.
9
*
10
* The contents of this file are subject to the Mozilla Public License
11
* Version 1.0 (the "License"); you may not use this file except in
12
* compliance with the License. You may obtain a copy of the License at
13
* http://www.mozilla.org/MPL/
14
*
15
* Software distributed under the License is distributed on an "AS IS"
16
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
17
* the License for the specific language governing rights and limitations
18
* under the License.
19
*
20
* The Original Code is Portable Windows Library.
21
*
22
* The Initial Developer of the Original Code is Equivalence Pty. Ltd.
23
*
24
* Portions are Copyright (C) 1993 Free Software Foundation, Inc.
25
* All Rights Reserved.
26
*
27
* Contributor(s): ______________________________________.
28
*
29
* $Revision: 24177 $
30
* $Author: rjongbloed $
31
* $Date: 2010-04-05 06:52:04 -0500 (Mon, 05 Apr 2010) $
32
*/
33
34
#ifndef PTLIB_SYNCPOINT_H
35
#define PTLIB_SYNCPOINT_H
36
37
#ifdef P_USE_PRAGMA
38
#pragma interface
39
#endif
40
41
#include <
ptlib/semaphor.h
>
42
43
67
class
PSyncPoint
:
public
PSemaphore
68
{
69
PCLASSINFO(
PSyncPoint
,
PSemaphore
);
70
71
public
:
74
PSyncPoint
();
75
PSyncPoint
(
const
PSyncPoint
&);
76
77
78
// Include platform dependent part of class
79
#ifdef _WIN32
80
#include "msos/ptlib/syncpoint.h"
81
#else
82
#include "unix/ptlib/syncpoint.h"
83
#endif
84
};
85
86
87
#endif // PTLIB_SYNCPOINT_H
88
89
90
// End Of File ///////////////////////////////////////////////////////////////
PSemaphore
This class defines a thread synchronisation object.
Definition:
semaphor.h:78
semaphor.h
PSyncPoint::PSyncPoint
PSyncPoint()
Create a new sync point.
PSyncPoint
This class defines a thread synchronisation object.
Definition:
syncpoint.h:67
include
ptlib
syncpoint.h
Generated on Fri Jun 26 2015 11:40:13 for PTLib by
1.8.9.1