diff -r 666f914201fb -r 2fe1408b6811 epoc32/include/stdapis/pthreadalias.h --- a/epoc32/include/stdapis/pthreadalias.h Tue Nov 24 13:55:44 2009 +0000 +++ b/epoc32/include/stdapis/pthreadalias.h Tue Mar 16 16:12:26 2010 +0000 @@ -1,1 +1,95 @@ -pthreadalias.h +/* +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members +* which accompanies this distribution, and is available +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Name : pthreadalias.h +* Part of : pthread +* Interface : POSIX, pthread +* Version : +* All rights reserved. +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* Redistributions of source code must retain the above copyright notice, this +* list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, +* this list of conditions and the following disclaimer in the documentation +* and/or other materials provided with the distribution. +* Neither the name of the nor the names of its contributors +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +*/ + + + +#ifndef PTHREADALIAS_H +#define PTHREADALIAS_H + +#define _pthread_create pthread_create +#define _pthread_self pthread_self +#define _pthread_equal pthread_equal +#define _pthread_join pthread_join +#define _pthread_detach pthread_detach +#define _pthread_exit pthread_exit +#define _pthread_attr_init pthread_attr_init +#define _pthread_attr_destroy pthread_attr_destroy +#define _pthread_attr_getdetachstate pthread_attr_getdetachstate +#define _pthread_attr_setdetachstate pthread_attr_setdetachstate +#define _pthread_attr_getstacksize pthread_attr_getstacksize +#define _pthread_attr_setstacksize pthread_attr_setstacksize +#define _pthread_once pthread_once +#define _pthread_mutexattr_init pthread_mutexattr_init +#define _pthread_mutexattr_destroy pthread_mutexattr_destroy +#define _pthread_mutexattr_getpshared pthread_mutexattr_getpshared +#define _pthread_mutexattr_setpshared pthread_mutexattr_setpshared +#define _pthread_mutexattr_gettype pthread_mutexattr_gettype +#define _pthread_mutexattr_settype pthread_mutexattr_settype +#define _pthread_mutex_init pthread_mutex_init +#define _pthread_mutex_destroy pthread_mutex_destroy +#define _pthread_mutex_lock pthread_mutex_lock +#define _pthread_mutex_timedlock pthread_mutex_timedlock +#define _pthread_mutex_trylock pthread_mutex_trylock +#define _pthread_mutex_unlock pthread_mutex_unlock +#define _pthread_condattr_init pthread_condattr_init +#define _pthread_condattr_destroy pthread_condattr_destroy +#define _pthread_cond_init pthread_cond_init +#define _pthread_cond_destroy pthread_cond_destroy +#define _pthread_cond_timedwait pthread_cond_timedwait +#define _pthread_cond_wait pthread_cond_wait +#define _pthread_cond_signal pthread_cond_signal +#define _pthread_cond_broadcast pthread_cond_broadcast +#define _pthread_key_create pthread_key_create +#define _pthread_key_delete pthread_key_delete +#define _pthread_setspecific pthread_setspecific +#define _pthread_getspecific pthread_getspecific +#define _pthread_attr_getscope pthread_attr_getscope +#define _pthread_attr_setscope pthread_attr_setscope +#define _pthread_attr_setschedpolicy pthread_attr_setschedpolicy +#define _pthread_attr_getschedpolicy pthread_attr_getschedpolicy +#define _pthread_attr_getschedparam pthread_attr_getschedparam +#define _pthread_attr_setschedparam pthread_attr_setschedparam +#define _pthread_getschedparam pthread_getschedparam +#define _pthread_setschedparam pthread_setschedparam + +#endif /* PTHREADALIAS_H */ +