Re: thread cancellation
- From: Alexander Larsson <alexl redhat com>
- To: Ian McKellar <yakk yakk net>
- Cc: Ted Gould <ted gould cx>, Colin Walters <walters verbum org>, gnome-devel-list gnome org
- Subject: Re: thread cancellation
- Date: 18 Sep 2003 08:54:56 +0200
On Wed, 2003-09-17 at 10:51, Ian McKellar wrote:
> On Wed, 2003-09-17 at 00:37, Ted Gould wrote:
> > On Mon, 2003-09-15 at 12:21, Colin Walters wrote:
> > > Has anyone else solved this problem in a different way? Opinions?
> >
> > It seems to me that a good way to solve this is by sending signals to
> > the threads.
>
> BEWARE BEWARE BEWARE
>
> Traditional linuxthreads handle signals differently from nptl threads
> and posix threads, and in fact I don't believe you can send signals to
> threads in posix threads.
>
> Signals are never the answer.
You have a problem. You decide to use signals to solve it. Now you have
two problems.
(Bad misquote)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a Nobel prize-winning soccer-playing shaman fleeing from a secret
government programme. She's a virginal green-skinned stripper from beyond the
grave. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]