GC deadlocks on linux

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 2 02:19:18 PST 2015


On Mon, 02 Mar 2015 08:15:12 +0000, Kagamin wrote:

> On Saturday, 28 February 2015 at 05:32:51 UTC, ketmar wrote:
>> On Sat, 28 Feb 2015 06:09:16 +0100, Martin Nowak wrote:
>>
>>> Meanwhile the author of daemonized came up with another idea, using
>>> exec instead of fork. https://github.com/NCrashed/daemonize/issues/2
>>
>> ahem. http://forum.dlang.org/post/mc35ap$2dvo$51@digitalmars.com
> 
> Bug 6846 is supposedly caused by usage of GC. Can't recent spawnProcess
> from phobos be used to start a process? It works around GC after fork
> sufficiently enough.

it doesn't "workaround" in any way, it does exactly what it is supposed 
to do: it running *new* process. no workarounds needed for that, and it 
does no allocations in child process after forking point.
-------------- 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/20150302/e45b0da7/attachment.sig>


More information about the Digitalmars-d-learn mailing list