www.digitalmars.com         C & C++   DMDScript  

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

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 gdcproject.org
        ReportedBy: lomereiter 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.
Oct 18 2012