????? ???????????? <olga.kryzhanovska at gmail.com> wrote: > It is not possible to implement a compile time flag which defines the > number of real time signals. RTSIG_MAX is a global property of the > operating system. > > Just think this proposal through: > What if kill -RTMIN+62 82939 is send to a process which is not > compiled with this flag? Should it ignore the signal, call abort() or > panic the system?
signal()/sigaction()/.... do not accept more than NSIG > What if a script uses /bin/getconf RTSIG_MAX to determinate the number > of real time signals - getconf being compiled with your proposed flag > - and the shell is not compiled with your proposed compile time flag > and supports 8 signals only? /bin/getconf RTSIG_MAX always returns 8 on Solaris. getconf does not call sysconf() for this property. Please first verify that there is a real need for more RT signals before looking for a solution. Linux offers 32 RT signals and the only need I see is to support 32 for Linux compatibility. J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily