Re: Non-Joinable Threads
- From: "Jeremy Harmon" <intrathink gmail com>
- To: gtkmm-list gnome org
- Subject: Re: Non-Joinable Threads
- Date: Wed, 26 Jul 2006 00:05:22 -0400
I'm using Curl for the download system, and I also plan for it to be
cross-platform so I want to stick with GtkMM as I've already tested the
threads on win32.
On 7/26/06, Jean-Marc Valin <jean-marc valin usherbrooke ca> wrote:
It doesn't answer your question, but why not just poll() all the sockets
together inside the gtk main loop and avoid threads in the first place?
On Tue, 2006-07-25 at 23:56 -0400, Jeremy Harmon wrote:
> I'm trying to use threads for a multi-download system. When I create
> the threads as joinable they work great, but my GUI freezes as it's
> waiting for it to finish. So when I try to create it as a non-joinable
> thread the thread never starts. I've been looking for information
> about threads for a few days but haven't found much.
> I'm using the following code to create the thread:
> Glib::Thread *const Download =
> Glib::Thread::create(sigc::mem_fun(Transfer, &CDownload::download),
> Jeremy Harmon
> gtkmm-list mailing list
> gtkmm-list gnome org
] [Thread Prev