I implemented ENQ/DEQ for a TDQ to prevent tasks holding lock on TDQ for a long time. But it created a problem where waiting time increased & the application slowed down. I have not figured out why this happened. I had posted some question related to TDQ locking some times back -
cics/topic9109.html. If I could get answers to these questions I will be in a position to relate to what happened. Can someone please help on this?