Search:
Login
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #9118
Ticket #9118
: main.cpp
File main.cpp,
228 bytes
(added by
gosuperninja@…
,
9 years ago
)
Line
1
#include
<boost/thread.hpp>
2
3
static
void
do_nothing
()
{
}
4
5
int
main
(
int
argc
,
const
char
*
argv
[])
6
{
7
8
boost
::
thread
t1
(
boost
::
bind
(
&
do_nothing
));
9
10
if
(
t1
.
joinable
()
)
{
11
t1
.
join
();
12
}
13
14
return
0
;
15
}
16
Download in other formats:
Original Format