os/ossrv/genericopenlibs/openenvcore/libpthread/src/pthread.cpp
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 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Name        : pthread.cpp
    15 // Part of     : pthread
    16 // Interface   : POSIX, pthread
    17 // POSIX implementation of pthread on Symbian
    18 // Version     :
    19 //
    20 
    21 
    22 
    23 #include <stddef.h>
    24 #include <limits.h>
    25 #include <e32def.h>
    26 #include <e32std.h>
    27 #include <stdlib.h>
    28 #include <errno.h>
    29 
    30 #include "pthread.h"
    31 
    32 #ifdef __SYMBIAN_COMPILE_UNUSED__
    33 int pthread_cancel (pthread_t /*thread*/)
    34 {
    35     return ENOSYS;
    36 }
    37 
    38 int pthread_setcancelstate (int /*state*/, int* /*oldstate*/)
    39 {
    40     return ENOSYS;
    41 }
    42 
    43 int pthread_setcanceltype (int /*type*/, int* /*oldtype*/)
    44 {
    45     return ENOSYS;
    46 }
    47 #endif
    48 
    49 void pthread_testcancel (void)
    50 {
    51     return;
    52 }
    53 
    54 // End of File