|
Boost Users : |
Subject: Re: [Boost-users] [boost-users][asio] why boost::threadthread1(boost::bind(...)) doesn't start io_service onmulticore machine?
From: tomasz jankowski (tomasz_jacek_at_[hidden])
Date: 2009-02-09 02:54:20
I am on C2D (Core 2 Duo Intel) and your code is working fine on my machine; all threads started and both core had used;
I make a little change; I renamed your class from "shared_mutex" to "shared_mutex1" and same for constructors and destructors.
I was getting redefination of that class. After changing name; every thing is working fine.
io_service.stop();
thread1.join();
thread2.join();
thread3.join();
thread4.join();
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net