sdkcreationmw/sdkcommonutils/util/Inc/sthread.h
changeset 0 b26acd06ea60
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sdkcreationmw/sdkcommonutils/util/Inc/sthread.h	Mon Mar 08 12:09:11 2010 +0530
@@ -0,0 +1,42 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: 
+*
+*/
+
+#ifndef _STHREAD_H_
+#define _STHREAD_H_
+
+typedef struct SThreadRec *SThread;
+
+#ifdef __cplusplus
+	extern "C" {
+#endif 
+
+#include "OpenLib.h"
+
+/* Thread function */
+typedef int (*sthread_function)(void* context);
+
+/* Create thread*/
+IMPORT_C SThread sthread_create(sthread_function fp, void* context);
+
+/* Destroy thread */
+IMPORT_C void sthread_destroy(SThread s);
+
+#ifdef __cplusplus
+	}	// extern "C" {
+#endif 
+
+#endif
\ No newline at end of file