epoc32/include/stdapis/pthreadalias.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/stdapis/pthreadalias.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/pthreadalias.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,95 @@
     1.4 -pthreadalias.h
     1.5 +/*
     1.6 +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* 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
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:
    1.19 +* Name        : pthreadalias.h
    1.20 +* Part of     : pthread
    1.21 +* Interface   : POSIX, pthread
    1.22 +* Version     : 
    1.23 +* All rights reserved.
    1.24 +* Redistribution and use in source and binary forms, with or without 
    1.25 +* modification, are permitted provided that the following conditions are met:
    1.26 +* Redistributions of source code must retain the above copyright notice, this 
    1.27 +* list of conditions and the following disclaimer. 
    1.28 +* Redistributions in binary form must reproduce the above copyright notice, 
    1.29 +* this list of conditions and the following disclaimer in the documentation 
    1.30 +* and/or other materials provided with the distribution. 
    1.31 +* Neither the name of the <ORGANIZATION> nor the names of its contributors 
    1.32 +* may be used to endorse or promote products derived from this software 
    1.33 +* without specific prior written permission. 
    1.34 +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
    1.35 +* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
    1.36 +* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
    1.37 +* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
    1.38 +* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
    1.39 +* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
    1.40 +* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
    1.41 +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    1.42 +* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
    1.43 +* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    1.44 +*
    1.45 +*/
    1.46 +
    1.47 +
    1.48 +
    1.49 +#ifndef  PTHREADALIAS_H
    1.50 +#define  PTHREADALIAS_H
    1.51 +
    1.52 +#define _pthread_create pthread_create
    1.53 +#define _pthread_self pthread_self
    1.54 +#define _pthread_equal pthread_equal
    1.55 +#define _pthread_join pthread_join
    1.56 +#define _pthread_detach pthread_detach
    1.57 +#define _pthread_exit pthread_exit
    1.58 +#define _pthread_attr_init pthread_attr_init
    1.59 +#define _pthread_attr_destroy pthread_attr_destroy
    1.60 +#define _pthread_attr_getdetachstate pthread_attr_getdetachstate
    1.61 +#define _pthread_attr_setdetachstate pthread_attr_setdetachstate
    1.62 +#define _pthread_attr_getstacksize pthread_attr_getstacksize
    1.63 +#define _pthread_attr_setstacksize pthread_attr_setstacksize
    1.64 +#define _pthread_once pthread_once 
    1.65 +#define _pthread_mutexattr_init pthread_mutexattr_init
    1.66 +#define _pthread_mutexattr_destroy pthread_mutexattr_destroy
    1.67 +#define _pthread_mutexattr_getpshared pthread_mutexattr_getpshared
    1.68 +#define _pthread_mutexattr_setpshared pthread_mutexattr_setpshared
    1.69 +#define _pthread_mutexattr_gettype pthread_mutexattr_gettype
    1.70 +#define _pthread_mutexattr_settype pthread_mutexattr_settype
    1.71 +#define _pthread_mutex_init pthread_mutex_init
    1.72 +#define _pthread_mutex_destroy pthread_mutex_destroy
    1.73 +#define _pthread_mutex_lock pthread_mutex_lock
    1.74 +#define _pthread_mutex_timedlock pthread_mutex_timedlock
    1.75 +#define _pthread_mutex_trylock pthread_mutex_trylock
    1.76 +#define _pthread_mutex_unlock pthread_mutex_unlock
    1.77 +#define _pthread_condattr_init pthread_condattr_init
    1.78 +#define _pthread_condattr_destroy pthread_condattr_destroy
    1.79 +#define _pthread_cond_init pthread_cond_init
    1.80 +#define _pthread_cond_destroy pthread_cond_destroy
    1.81 +#define _pthread_cond_timedwait pthread_cond_timedwait
    1.82 +#define _pthread_cond_wait pthread_cond_wait
    1.83 +#define _pthread_cond_signal pthread_cond_signal
    1.84 +#define _pthread_cond_broadcast pthread_cond_broadcast
    1.85 +#define _pthread_key_create pthread_key_create
    1.86 +#define _pthread_key_delete pthread_key_delete
    1.87 +#define _pthread_setspecific pthread_setspecific
    1.88 +#define _pthread_getspecific pthread_getspecific
    1.89 +#define _pthread_attr_getscope pthread_attr_getscope
    1.90 +#define _pthread_attr_setscope pthread_attr_setscope
    1.91 +#define _pthread_attr_setschedpolicy pthread_attr_setschedpolicy
    1.92 +#define _pthread_attr_getschedpolicy pthread_attr_getschedpolicy
    1.93 +#define _pthread_attr_getschedparam pthread_attr_getschedparam
    1.94 +#define _pthread_attr_setschedparam pthread_attr_setschedparam 
    1.95 +#define _pthread_getschedparam pthread_getschedparam 
    1.96 +#define _pthread_setschedparam pthread_setschedparam 
    1.97 +
    1.98 +#endif /* PTHREADALIAS_H */
    1.99 +