SIGLOST not support on Linux

这两天正好在看TLPI,有一处问题,正好给Mark写了一封信,人家回答也比较nice,不过更多么。。还是靠google了

SIGLOST  This signal name exists on Linux, but is unused.

基本上我这边的Linux相关代码,都没有使用这个值,甚至一些架构(如MIPS)连comments这样的待遇都么有。

只有在Linux.SPARC上才找到这个信号的定义

当然,Solaris 10也有找到

觉得比较有趣,记一下,顺便记一下Linux下 man signal(7)的描述

BUGS
SIGIO and SIGLOST have the same value.  The latter is commented out in the kernel source, but the build process of some software  still  thinks  that  signal  29  is SIGLOST.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.