RFR: Use SIGRTMAX instead of __SIGRTMAX
mikael.vidstedt at oracle.com
Wed Apr 12 00:07:46 UTC 2017
The JDK uses (in two places) __SIGRTMAX, but posix refers to SIGRTMAX without the double-underscores prefix. Also, posix also mentions that SIGRTMAX is not guaranteed to be a constant expression. musl doesn’t define __SIGRTMAX, and the definition of SIGRTMAX is not a constant expression.
This change updates the code to use SIGRTMAX, and also moves the initialization of the static global variable sigWakeup in linux_close.c to be initialized in the function just before the signal handler gets set up.
More information about the portola-dev