TThread.Priority when ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

TThread.Priority when ?

fredvs
Hello.

When TThread.Priority will be implemented ?

Why not give a compiler message that TThread.Priority is not yet implemented when using it ?

Fre;D
Many thanks ;-)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: TThread.Priority when ?

Michael Van Canneyt


On Sat, 29 Jul 2017, fredvs wrote:

> Hello.
>
> When TThread.Priority will be implemented ?

When someone finds it important enough to make an implementation.

> Why not give a compiler message that TThread.Priority is not yet implemented
> when using it ?

Because
1. AFAIK it is implemented for windows, but this must be checked.
2. TThread relies on the underlying threadmanager to do the actual work.
    The compiler therefor does not actually know if it is implemented when
    you use it.

Michael.
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Loading...