https://issues.dlang.org/show_bug.cgi?id=2159

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #10 from RazvanN <[email protected]> ---
Compiling:

import core.thread;

void main()
{
        int g;
        int run()
        {
                for(int i = 0; i < 1000; ++i)
                        ++g;
                return 0;
        }
        auto t = new Thread(run);
        t.start;
        t.wait;
}

Yields:

test.d(11): Error: class core.thread.Thread member this is not accessible
test.d(13): Error: no property wait for type core.thread.Thread

Is this satisfactory?

--

Reply via email to