Threads
DF
deefriend at ymail.com
Wed Nov 19 10:33:26 PST 2008
Robert Jacques Wrote:
> On Wed, 19 Nov 2008 13:26:32 -0500, DF <deefriend at ymail.com> 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.
More information about the Digitalmars-d
mailing list