|
|||
|
ABOUT US |
CONTACT |
ADVERTISE |
SUBSCRIBE |
SOURCE CODE |
CURRENT PRINT ISSUE |
FORUMS
|
NEWSLETTERS
|
RESOURCES
|
BLOGS
|
PODCASTS
|
CAREERS
|
|||
April 15, 2003
The Boost.Threads Library
Listing 1: The boost::thread class
#include <boost/thread/thread.hpp>
#include <iostream>
void hello()
{
std::cout <<
"Hello world, I'm a thread!"
<< std::endl;
}
int main(int argc, char* argv[])
{
boost::thread thrd(&hello);
thrd.join();
return 0;
}
End of Listing
Please log in to post comments.
|
|
|||||||||||||||||||||||
|
MARKETPLACE
Ensure global WAN & LAN network availability
Find out how to ensure global WAN and LAN network availability for all networked financial and banking applications across distributed organizations. Free white papers from NetScout.
Find Solutions from IBMıs Business Partners
Explore solutions that have proven success helping clients meet marketplace demands and align with IBM hardware and middleware platforms.
Keep your Network Running!
Build an Environment with Enhanced Security & Resilience with IBM.
Your Applications Mean Business!
IBM can help your company deliver greater business value. Click to learn how and download complimentary reports from IBM.
IT Sales Lead Follow Up
Fast and acurate IT lead qualification from websites, trade shows, direct mail, trade advertising or any other marketing sources. Don't let good leads die young. SSM: Strategic Sales & Marketing. Technology Lead Generation: Since 1989 |
|