On Wed, 19 Nov 2008 13:33:26 -0500, DF <[EMAIL PROTECTED]> wrote:

Robert Jacques Wrote:

On Wed, 19 Nov 2008 13:26:32 -0500, DF <[EMAIL PROTECTED]> wrote:

> void main() {
>    Thread derived = new DerivedThread();
>    derived.start();
> }

The main thread is exiting before the derived thread runs. This works
correctly:
        Thread derived = new DerivedThread();
        derived.start();
        derived.wait;

You'll get "Error: hidden method called for Test.DerivedThread" if try to use derived.wait.

This worked on my setup (D 1.035 + Phobos + Windows + Release), which version are you using?

Reply via email to