TLS calls (currently unused)
[reactos.git] / posix / include / psx / tls.h
1 /* $Id: tls.h,v 1.1 2002/05/17 02:07:14 hyperion Exp $
2 */
3 /*
4 * psx/tls.h
5 *
6 * types and calls for TLS management
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
25 #ifndef __PSX_TLS_H_INCLUDED__
26 #define __PSX_TLS_H_INCLUDED__
27
28 /* INCLUDES */
29
30 /* OBJECTS */
31
32 /* TYPES */
33 typedef unsigned int __tls_index_t;
34
35 /* CONSTANTS */
36
37 /* PROTOTYPES */
38 __tls_index_t __tls_alloc();
39 int __tls_free(__tls_index_t index);
40 void * __tls_get_val(__tls_index_t index);
41 int __tls_put_val(__tls_index_t index, void * data);
42
43 /* MACROS */
44
45 #endif /* __PSX_TLS_H_INCLUDED__ */
46
47 /* EOF */
48