mmap not async-signal-safe?
Baruch Siach
baruch at tkos.co.il
Thu Jul 18 06:54:11 IDT 2013
Hi Shachar,
On Thu, Jul 18, 2013 at 06:36:57AM +0300, Shachar Shemesh wrote:
> As we all know, from a signal handler it is only safe to call functions
> that are "async signal safe". I have a couple of questions (three,
> actually), if anyone happens to know the answer to:
>
> First, why the name? The list contains functions that are obviously not
> async. Does that mean these functions are only safe in non-blocking
> mode? (make sense, but you'd expect it to be better documented)
I guess it's the signal that is async, not the system call. The name can be
rephrased as "functions that are safe in async signal handler routines".
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the Linux-il
mailing list