1 /* $Id: tls.h,v 1.3 2002/10/29 04:45:15 rex Exp $
6 * types and calls for TLS management
8 * This file is part of the ReactOS Operating System.
11 * Created by KJK::Hyperion <noog@libero.it>
13 * THIS SOFTWARE IS NOT COPYRIGHTED
15 * This source code is offered for use in the public domain. You may
16 * use, modify or distribute it freely.
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.
25 #ifndef __PSX_TLS_H_INCLUDED__
26 #define __PSX_TLS_H_INCLUDED__
33 typedef unsigned int __tls_index_t
;
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
);
45 #endif /* __PSX_TLS_H_INCLUDED__ */