A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tentative of implementing pthread_join, and to ensure that we are inside simgrid...
[simgrid.git]
/
src
/
sthread
/
sthread.h
diff --git
a/src/sthread/sthread.h
b/src/sthread/sthread.h
index
2099432
..
6e7d4f8
100644
(file)
--- a/
src/sthread/sthread.h
+++ b/
src/sthread/sthread.h
@@
-17,6
+17,7
@@
int sthread_main(int argc, char** argv, char** envp, int (*raw_main)(int, char**
typedef unsigned long int sthread_t;
int sthread_create(sthread_t* thread, const /*pthread_attr_t*/ void* attr, void* (*start_routine)(void*), void* arg);
+int sthread_join(sthread_t thread, void** retval);
typedef struct {
void* mutex;