Synclock blocking order

  • Thread starter Thread starter fred
  • Start date Start date
F

fred

If I have numerous threads being blocked by a Synclock on the same object
then I believe normally the threads will be released on a first in first out
bases.
Can this be changed by having different priorities on the threads. So if I
made one thread with a high priority while the other threads are normal then
will the high priority thread jump the queue?

Thanks for any information.
Fred
 
then I believe normally the threads will be released on a first in first out
bases.

No, they will be released in the order the OS decides.

Can this be changed by having different priorities on the threads. So if I
made one thread with a high priority while the other threads are normal then
will the high priority thread jump the queue?

Not necessarily.



Mattias
 
Back
Top