Sign in
qemu
/
meson
/
refs/heads/docbuild
/
.
/
test cases
/
frameworks
/
1 boost
/
linkexe.cc
blob: 240c7c1ec3fb50728bb7349e80774ff93a89821e [
file
] [
log
] [
blame
]
#include
<boost/thread.hpp>
boost
::
recursive_mutex m
;
struct
callable
{
void
operator
()()
{
boost
::
recursive_mutex
::
scoped_lock l
(
m
);
};
};
int
main
(
int
argc
,
char
**
argv
)
{
callable x
;
boost
::
thread thr
(
x
);
thr
.
join
();
return
0
;
}