[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnome-devel-list
Subject:    Re: thread cancellation
From:       Alexander Larsson <alexl () redhat ! com>
Date:       2003-09-18 6:54:56
Message-ID: 1063868096.27197.188.camel () localhost ! localdomain
[Download RAW message or body]

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! 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic