[crac] RFR: Block RESTORE_SIGNAL in all threads

Volker Simonis simonis at openjdk.org
Tue Jul 5 10:41:27 UTC 2022


The 'crac' branch already introduced a signal set for blocked signals which contains `RESTORE_SIGNAL` (i.e. `SIGRTMIN+2`) but the signalset is currently not used. This PR uses that signalset to block `RESTORE_SIGNAL` in all threads as recommended when using [`sigwaitinfo()`](https://man7.org/linux/man-pages/man2/sigwaitinfo.2.html) to wait for `RESTORE_SIGNAL`.

-------------

Commit messages:
 - Block RESTORE_SIGNAL in all threads

Changes: https://git.openjdk.org/crac/pull/27/files
 Webrev: https://webrevs.openjdk.org/?repo=crac&pr=27&range=00
  Stats: 6 lines in 1 file changed: 6 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/crac/pull/27.diff
  Fetch: git fetch https://git.openjdk.org/crac pull/27/head:pull/27

PR: https://git.openjdk.org/crac/pull/27


More information about the crac-dev mailing list