Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhy can't 2 or more boost::thread objects represent the same thread? [modified] Pin
followait17-Aug-09 3:06
followait17-Aug-09 3:06 
AnswerRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
Cedric Moonen17-Aug-09 3:34
Cedric Moonen17-Aug-09 3:34 
GeneralRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
Stuart Dootson17-Aug-09 3:50
professionalStuart Dootson17-Aug-09 3:50 
AnswerRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
Stuart Dootson17-Aug-09 3:54
professionalStuart Dootson17-Aug-09 3:54 
GeneralRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
followait18-Aug-09 1:18
followait18-Aug-09 1:18 
GeneralRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
Stuart Dootson18-Aug-09 2:14
professionalStuart Dootson18-Aug-09 2:14 
GeneralRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
followait20-Aug-09 2:36
followait20-Aug-09 2:36 
AnswerRe: Why can't 2 or more boost::thread objects represent the same thread? Pin
Nemanja Trifunovic17-Aug-09 9:53
Nemanja Trifunovic17-Aug-09 9:53 
Or you can use boost::ptr_vector<boost::thread> and it will delete the pointers for you when it goes out of scope.

Of course, Stuart's solution with shared pointers will work as well and may be even safer.


QuestionView a URL that has a proxy Pin
Hadi Dayvary17-Aug-09 2:11
professionalHadi Dayvary17-Aug-09 2:11 
AnswerRe: View a URL that has a proxy Pin
Ahmed Charfeddine17-Aug-09 4:56
Ahmed Charfeddine17-Aug-09 4:56 
GeneralRe: View a URL that has a proxy Pin
Hadi Dayvary17-Aug-09 5:59
professionalHadi Dayvary17-Aug-09 5:59 
GeneralRe: View a URL that has a proxy Pin
Ahmed Charfeddine17-Aug-09 7:04
Ahmed Charfeddine17-Aug-09 7:04 
QuestionExcel Class Pin
rdop17-Aug-09 2:05
rdop17-Aug-09 2:05 
AnswerRe: Excel Class Pin
Rajesh R Subramanian17-Aug-09 2:42
professionalRajesh R Subramanian17-Aug-09 2:42 
GeneralRe: Excel Class Pin
rdop18-Aug-09 0:53
rdop18-Aug-09 0:53 
GeneralRe: Excel Class Pin
trioum18-Aug-09 1:12
trioum18-Aug-09 1:12 
GeneralRe: Excel Class Pin
rdop18-Aug-09 1:18
rdop18-Aug-09 1:18 
GeneralRe: Excel Class Pin
trioum18-Aug-09 1:22
trioum18-Aug-09 1:22 
GeneralRe: Excel Class [modified] Pin
rdop18-Aug-09 1:42
rdop18-Aug-09 1:42 
GeneralRe: Excel Class Pin
Rajesh R Subramanian18-Aug-09 2:43
professionalRajesh R Subramanian18-Aug-09 2:43 
GeneralRe: Excel Class Pin
rdop18-Aug-09 19:03
rdop18-Aug-09 19:03 
AnswerRe: Excel Class Pin
Rajesh R Subramanian18-Aug-09 19:16
professionalRajesh R Subramanian18-Aug-09 19:16 
GeneralRe: Excel Class Pin
rdop18-Aug-09 19:43
rdop18-Aug-09 19:43 
GeneralRe: Excel Class Pin
Rajesh R Subramanian18-Aug-09 21:55
professionalRajesh R Subramanian18-Aug-09 21:55 
QuestionOne class properties in another DLL Pin
002comp17-Aug-09 1:40
002comp17-Aug-09 1:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.