gwenhywfar  5.5.1
gwenthread.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Wed Feb 03 2021
3  copyright : (C) 2021 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * *
8  * This library is free software; you can redistribute it and/or *
9  * modify it under the terms of the GNU Lesser General Public *
10  * License as published by the Free Software Foundation; either *
11  * version 2.1 of the License, or (at your option) any later version. *
12  * *
13  * This library is distributed in the hope that it will be useful, *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16  * Lesser General Public License for more details. *
17  * *
18  * You should have received a copy of the GNU Lesser General Public *
19  * License along with this library; if not, write to the Free Software *
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
21  * MA 02111-1307 USA *
22  * *
23  ***************************************************************************/
24 
25 
26 #ifndef GWEN_THREAD_H
27 #define GWEN_THREAD_H
28 
29 
31 #include <gwenhywfar/inherit.h>
32 #include <gwenhywfar/list1.h>
33 
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 
40 typedef struct GWEN_THREAD GWEN_THREAD;
43 
44 
46 
47 
48 
51 
53 
55 
56 
58 
59 
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 
66 
67 #endif
68 
GWEN_Thread_new
GWENHYWFAR_API GWEN_THREAD * GWEN_Thread_new()
GWEN_INHERIT_FUNCTION_LIB_DEFS
#define GWEN_INHERIT_FUNCTION_LIB_DEFS(t, decl)
Definition: inherit.h:125
GWEN_Thread_Start
GWENHYWFAR_API int GWEN_Thread_Start(GWEN_THREAD *thr)
GWEN_Thread_free
GWENHYWFAR_API void GWEN_Thread_free(GWEN_THREAD *thr)
GWEN_LIST_FUNCTION_LIB_DEFS
#define GWEN_LIST_FUNCTION_LIB_DEFS(t, pr, decl)
Definition: list1.h:348
GWENHYWFAR_CB
#define GWENHYWFAR_CB
Definition: gwenhywfarapi.h:89
GWEN_Thread_SetRunFn
GWENHYWFAR_API GWEN_THREAD_RUN_FN GWEN_Thread_SetRunFn(GWEN_THREAD *thr, GWEN_THREAD_RUN_FN fn)
GWEN_Thread_Join
GWENHYWFAR_API int GWEN_Thread_Join(GWEN_THREAD *thr)
gwenhywfarapi.h
GWEN_THREAD
struct GWEN_THREAD GWEN_THREAD
Definition: gwenthread.h:40
GWEN_THREAD_RUN_FN
GWENHYWFAR_CB void(* GWEN_THREAD_RUN_FN)(GWEN_THREAD *thr)
Definition: gwenthread.h:45
GWENHYWFAR_API
#define GWENHYWFAR_API
Definition: gwenhywfarapi.h:67
list1.h
inherit.h