Sign in
◑
Theme
fuchsia
/
third_party
/
jemalloc
/
refs/heads/upstream/stable-3
/
.
/
test
/
include
/
test
/
thd.h
blob: f941d7a752fed19b9b0855df406a7a8b9b732342 [
file
] [
edit
]
/* Abstraction layer for threading in tests */
#ifdef
_WIN32
typedef
HANDLE
thd_t
;
#else
typedef
pthread_t
thd_t
;
#endif
void
thd_create
(
thd_t
*
thd
,
void
*(*
proc
)(
void
*),
void
*
arg
);
void
thd_join
(
thd_t
thd
,
void
**
ret
);