GC deadlocks on linux

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 18 13:00:08 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

p.s. and check if you don't disable signals. druntime uses SIGUSR1 to 
communicate with threads (even if you aren't using more that one thread 
in your code). it doesn't on windows though (there are no signals there ;-
), but your posix code can accidentally block/intercept the signals 
druntime uses for internal bookkeeping.
-------------- 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/112867ec/attachment.sig>


More information about the Digitalmars-d-learn mailing list