02-22-2007 11:52 PM
02-23-2007 02:25 AM
02-23-2007 10:22 AM
02-23-2007 11:20 AM
02-24-2007 12:35 AM
I have tried the model shown in the template earlier.That will stop the consumer loop without waiting for the que elements to be processed.I will try with the other methods suggested and see.Thanx for all the suggestions
RPK
05-02-2007 09:17 AM
05-02-2007 11:56 AM
05-02-2007 12:46 PM
Now THAT is an interesting hunk of code. I was hanging that queue release off the error out in the consumer loop for data dependency and didn't think if I was crashing my way out (what, my code?) that an error would prevent the queue from being released and the exit isn't clean.
Notice also that the error in to the Release Queue is not wired. If there were an error, the Release would not take place. All errors are merged at the end to report exactly where an error occured. A timeout is included in case an error prevents the stop command from being enqueued or dequeued.
05-02-2007 01:54 PM
05-02-2007 02:30 PM