P
palm
Hi
I have a system.collection.queue object. One thread X enque objects
into this queue and another thread Y dequeues object and process them.
I want to add a listener for this queue in thread Y so that anytime an
object is enqueued into this queue, this method could be invoked. Does
system.collections.queue raises an event anytime a new item is inserted
into it? Any idea and code example will be highly appreciated.
TIA
I have a system.collection.queue object. One thread X enque objects
into this queue and another thread Y dequeues object and process them.
I want to add a listener for this queue in thread Y so that anytime an
object is enqueued into this queue, this method could be invoked. Does
system.collections.queue raises an event anytime a new item is inserted
into it? Any idea and code example will be highly appreciated.
TIA