Thread.sleep (DMD 2.020)
John C
johnch_atms at hotmail.com
Sat Nov 1 09:47:05 PDT 2008
Sean Kelly Wrote:
> John C wrote:
> > Sean Kelly Wrote:
> >
> >>> Should I file a bug report?
> >> Don't bother. But thanks for the report.
> >>
> > Also, any reason why priority is only available once the Thread's handle has been created - ie, after it's been started?
>
> Do you mean as opposed to in its ctor?
>
>
> Sean
Not really - I mean that you should be able to set a Thread object's priority after creation but before start() is called. Currently this doesn't work - an exception is thrown. Perhaps store the requested priority in a field in the class, and SetPriority with that value on the handle after _beginthreadex?
More information about the Digitalmars-d
mailing list