Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
SIGRTMIN/MAX: Add constants for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerfiliba committed Oct 12, 2015
1 parent 877233f commit bf7b39e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/core/sys/posix/signal.d
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,12 @@ else version( linux )
return sig;
}
}
// Note: it appears that FreeBSD/OSX do not support realtime signals
else version (FreeBSD) {
// https://github.com/freebsd/freebsd/blob/e79c62ff68fc74d88cb6f479859f6fae9baa5101/sys/sys/signal.h#L117
enum SIGRTMIN = 65;
enum SIGRTMAX = 126;
}
// Note: it appears that FreeBSD (prior to 7) and OSX do not support realtime signals

version( linux )
{
Expand Down

0 comments on commit bf7b39e

Please sign in to comment.