[Issue 16] New: Programs that use std.parallelism.taskPool hang

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Thu Oct 18 13:08:37 PDT 2012


http://gdcproject.org/bugzilla/show_bug.cgi?id=16

             Bug #: 16
           Summary: Programs that use std.parallelism.taskPool hang
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw at gdcproject.org
        ReportedBy: lomereiter at gmail.com


I've compiled GDC trunk with latest GCC.

Then I compiled the following code with GDC:

import std.parallelism;
void main() { taskPool; }

Most times, the produced executable just hangs. However, on every 5th run or
so, it finishes execution immediately, as expected.

Output of gdc -v:

Using built-in specs.
COLLECT_GCC=gdc
COLLECT_LTO_WRAPPER=/export/local/users/artem/opt/gdc48/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.8-20121014/configure --enable-languages=d
--enable-checking=release --prefix=/home/artem/opt/gdc48 --enable-multilib
Thread model: posix
gcc version 4.8.0 20121014 (experimental) (GCC)


Glibc version: 2.11.3-3

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.


More information about the D.gnu mailing list