GC deadlocks on linux

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 18 14:56:25 PST 2015


On Wed, 18 Feb 2015 21:21:10 +0000, Byron Heads wrote:

p.s. if you really-really-really need to avoid shell scripts, you can 
`exec` your program with STDIN, STDOUT and STDERR redirected to /dev/
null, passing some special argument to it. i.e. it shouldn't fork, just 
exec itself again with added command-line option. just make sure that you 
did `setsid()` and so on, so the second instance is completely detached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150218/f8d48804/attachment.sig>


More information about the Digitalmars-d-learn mailing list