GC deadlocks on linux
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Feb 18 12:55:56 PST 2015
On Wed, 18 Feb 2015 20:35:44 +0000, Byron Heads wrote:
> On Wednesday, 18 February 2015 at 20:33:40 UTC, ketmar wrote:
>> On Wed, 18 Feb 2015 20:27:07 +0000, Byron Heads wrote:
>>
>> are you forking? ;-)
>
>
> I am in the daemonize library
>
> https://github.com/NCrashed/daemonize
can you drop that and just let the program run on foreground? i suspect
that it may solve your problem. you can detach your program with "setsid"
and "&" to avoid forking.
`fork()` is a very fragile thing, and it may be the source of heisenbugs.
stop `fork()`ing may be the easiest solution (if it solves something, of
course ;-).
-------------- 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/6edb24c1/attachment.sig>
More information about the Digitalmars-d-learn
mailing list