Update contrib.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
16 * Part of : libc library
17 * get/set __isthreaded
18 * This material, including documentation and any related
19 * computer programs, is protected by copyright controlled by
20 * Nokia. All rights are reserved. Copying, including
21 * reproducing, storing, adapting or translating, any
22 * or all of this material requires the prior written consent of
23 * Nokia. This material also contains confidential
24 * information which may not be disclosed to others without the
25 * prior written consent of Nokia.
33 #if (defined(__SYMBIAN32__) && (defined(__WINSCW__) || defined(__WINS__)))
34 #include "libc_wsd_defs.h"
37 //Definition of _isthreaded which will be used by other module as extern
43 isthreaded : To set and get the variable __isthreaded
45 This function is used by the library libpthread to set the variable
46 __isthreaded to true when pthread_create() is called
47 Returns: __isthreaded.
50 EXPORT_C int* isthreaded(void)
53 return &(GetGlobals()->_g___isthreaded);