pthread_wip

This commit is contained in:
2017-10-16 10:28:24 +00:00
parent 0686959e93
commit f64c80da9a
18 changed files with 96 additions and 29 deletions
+2
View File
@@ -138,6 +138,7 @@ _MCOUNT_DECL(u_long frompc, u_long selfpc)
int s;
#endif
#if !defined(__minix)
#if defined(_REENTRANT) && !defined(_KERNEL)
if (__isthreaded) {
p = thr_getspecific(_gmonkey);
@@ -148,6 +149,7 @@ _MCOUNT_DECL(u_long frompc, u_long selfpc)
}
} else
#endif
#endif /* !defined(__minix) */
p = &_gmonparam;
/*
* check that we are profiling