lkml.org 
[lkml]   [2004]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: accept does not return in case a signal arrives
From
Date
On Mer, 2004-11-03 at 13:26, Gerrit Bruchhäuser wrote:
> Dear Kernel-team,
>
> on Linux, 'accept' system call does not return in case I send SIGTERM to
> my application; while it does on OSF-Alpha.

signal() may or may not interrupt some system calls. Use sigaction if
you want to force a given behaviour (and write portable code)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.137 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site