Threads
Robert Jacques
sandford at jhu.edu
Wed Nov 19 10:36:34 PST 2008
On Wed, 19 Nov 2008 13:33:26 -0500, DF <deefriend at ymail.com> wrote:
> 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.
This worked on my setup (D 1.035 + Phobos + Windows + Release), which
version are you using?
More information about the Digitalmars-d
mailing list