os/ossrv/genericopenlibs/openenvcore/libpthread/inc/pthreadmisc.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     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".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 * Name     : pthreadmisc.h
    16 * Part of  : PThread library
    17 * Thread Miscellaneous functions prototypes.
    18 * Version:
    19 *
    20 */
    21 
    22 
    23 
    24 #ifndef _PTHREADMISC_H
    25 #define _PTHREADMISC_H
    26 
    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
    32 
    33 void* _pthread_getTls() ;
    34 
    35 void _pthread_deleteNode(_pthread_node_t *selfNodePtr, 
    36                            _global_data_t *glbPtr,
    37                            void ** retValPtr);
    38                            
    39 void _pthread_destroyKeys(_global_data_t *glbPtr,
    40                             _pthread_node_t *selfNodePtr);
    41 
    42 #endif //_PTHREADMISC_H
    43 
    44 //End of File