Why don't you use the IOCP as your queue and post your work items directly to it? That way you get a thread safe queue for free and can completely remove the other queue you have?
This question would then go away ;)
Len Holgate
2010-07-20 07:16:20