Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with boost:thread
From: strasser_at_[hidden]
Date: 2010-03-04 11:58:52


Zitat von Daniel Veneros <dann.vd_at_[hidden]>:

> Hey, I'm trying to start a thread from a Class but the only way I did it was
> using a pointer.

IIUC:

boost::thread thr;

//...

boost::thread(bind(&thread_start)).swap(thr);


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