http://d.puremagic.com/issues/show_bug.cgi?id=4368


Heywood Floyd <soul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |soul...@gmail.com


--- Comment #1 from Heywood Floyd <soul...@gmail.com> 2010-06-23 07:02:57 PDT 
---
// Workaround (+ possible clue to what the cause is)


import  core.sys.posix.unistd,
      core.thread, //++++
        std.stdio;

void main() 
{
    auto pid = fork();

    if( pid > 0 ) {
        writeln( "Parent" );
    } else if( pid == 0 ) {
        thread_attachThis(); // ++++
        writeln( "Child" );
    } else {
        writeln( "Failed to fork!" );
    }
}:

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to