« Previous | Next » 

Revision 4cfa01f4

ID4cfa01f49e2776be51d658a59d0e945dd538d4b5
Parent d182955c
Child 942817f2

Added by Petr Pudlak over 10 years ago

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 <>
Reviewed-by: Klaus Aehlig <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences