fba8b5f588d139b997c8c6fabea83a0547da51ab
[reactos.git] / posix / include / psx / interlock.h
1 /* $Id: interlock.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
2 */
3 /*
4 * psx/interlock.h
5 *
6 * inter-locked increment/decrement
7 *
8 * This file is part of the ReactOS Operating System.
9 *
10 * Contributors:
11 * Created by KJK::Hyperion <noog@libero.it>
12 *
13 * THIS SOFTWARE IS NOT COPYRIGHTED
14 *
15 * This source code is offered for use in the public domain. You may
16 * use, modify or distribute it freely.
17 *
18 * This code is distributed in the hope that it will be useful but
19 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
20 * DISCLAMED. This includes but is not limited to warranties of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22 *
23 */
24 #ifndef __PSX_INTERLOCK_H_INCLUDED__
25 #define __PSX_INTERLOCK_H_INCLUDED__
26
27 /* INCLUDES */
28
29 /* OBJECTS */
30
31 /* TYPES */
32
33 /* CONSTANTS */
34
35 /* PROTOTYPES */
36 int __interlock_inc(int *);
37 int __interlock_dec(int *);
38 int __interlock_add(int *, int);
39
40 /* MACROS */
41
42 #endif /* __PSX_INTERLOCK_H_INCLUDED__ */
43
44 /* EOF */
45