470,833 Members | 1,510 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

threading monitor

Upon receiving a Monitor.Pulse, the waiting thread is moved to the ready
queue. When the thread that invoked Monitor.Pulse releases the lock, the
next thread in the ready queue (which is not necessarily the thread that was
pulsed) acquires the lock.

How can a ensure that the waiting thread gets priority in acquiring the lock
over others in the waiting queue?
I need the waiting thread to be the one next in line to acquire the lock
after any Pulse from any other thread.

Jun 2 '06 #1
0 889

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Peter Schmitz | last post: by
5 posts views Thread by ste | last post: by
1 post views Thread by Mike | last post: by
8 posts views Thread by Michael Kennedy | last post: by
12 posts views Thread by Perecli Manole | last post: by
reply views Thread by Perecli Manole | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.