Re: Work woth GUI from a thread that was made by pthread_create function
- From: Alex Larsson <alexl redhat com>
- To: G Hasse <gh raditex se>
- Cc: Sander Vesik <sv117949 ireland sun com>, Soeren Sandmann <sandmann daimi au dk>, Pavel Machek <pavel ucw cz>, Michael Torrie <torriem cs byu edu>, <gtk-app-devel-list gnome org>, gnome-devel <gnome-devel-list gnome org>
- Subject: Re: Work woth GUI from a thread that was made by pthread_create function
- Date: Thu, 14 Feb 2002 09:59:34 -0500 (EST)
On Thu, 14 Feb 2002, G Hasse wrote:
> On Thu, 14 Feb 2002, Sander Vesik wrote:
>
> > I think the main reason for using threads at this point of time is that
> > you have all the necdcessary "middleware" but would need to invent it
> > otherwise.
>
> I beleve that threads became pupular since WindowsNT did't had any nice
> ways to create processes and intercommunication between them was not
> very good. (Eg select or poll on filedescriptors din't work very well).
What? WaitForMultipleObjects() has been in windows since Win95. It's even
better than select, because you can select on mutexes too.
/ Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]