Re: How to return data from a thread?



Kevin Brooks wrote:

I want to know how to return data from a thread.
This has little to do with Gtkmm, but the hint could be to use a pipe or a semaphore to indicate thread termination, and store the returned data on the haep, as the heap memory are shared between threads.

Hope this helps :-)

/BL



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]