williamr@2: /* williamr@2: * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@4: * under the terms of "Eclipse Public License v1.0" williamr@2: * which accompanies this distribution, and is available williamr@4: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: williamr@2: * Name : pthreadtypes.h williamr@2: * Part of : PThread library williamr@2: * Exported thread data structures williamr@2: * Version: williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: williamr@2: #ifndef PTHREADTYPES_H williamr@2: #define PTHREADTYPES_H williamr@2: williamr@2: // size of pthread_attr williamr@2: #define _TOTALSIZEOF_PTHREAD_ATTR_T 32 williamr@2: williamr@2: typedef unsigned int pthread_t; williamr@2: williamr@2: typedef struct williamr@2: { williamr@2: char totalSize[_TOTALSIZEOF_PTHREAD_ATTR_T]; williamr@2: } pthread_attr_t; williamr@2: williamr@2: /* Keys for thread-specific data */ williamr@2: typedef unsigned int pthread_key_t; williamr@2: williamr@2: #endif //PTHREADTYPES_H