Revision 4cfa01f4
ID | 4cfa01f49e2776be51d658a59d0e945dd538d4b5 |
Parent | d182955c |
Child | 942817f2 |
When starting the Luxi daemon, check if it's able to fork
If a Haskell program is compiled with -threaded, then inheriting open
file descriptors doesn't work, which breaks our job death detection
mechanism. (And on older GHC versions even forking doesn't work.)
Therefore let Luxi daemon check and let it fail to start, if it detect
it has been compiled with -threaded.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Files
- added
- modified
- copied
- renamed
- deleted