First public contribution.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Name : pthreadmisc.h
16 * Part of : PThread library
17 * Thread Miscellaneous functions prototypes.
24 #ifndef _PTHREADMISC_H
25 #define _PTHREADMISC_H
27 #define THREAD_NAME_WIDTH 8
28 #define THREAD_COUNT_ZERO 0
29 #define MAX_THREAD_CREATE_FAILURE_COUNT 20
30 #define MAX_THREAD_NAME_LEN 255
31 #define MAXLEN_RANDOM_NUM 20
33 void* _pthread_getTls() ;
35 void _pthread_deleteNode(_pthread_node_t *selfNodePtr,
36 _global_data_t *glbPtr,
39 void _pthread_destroyKeys(_global_data_t *glbPtr,
40 _pthread_node_t *selfNodePtr);
42 #endif //_PTHREADMISC_H