Posted: Thu Feb 01, 2007 7:39 am Post subject: Timeout Processing and threads
Apprentice
Joined: 19 Jun 2006 Posts: 37
Bit obscure this...
I set up a TimeoutControl message with an Interval of 1 second and a count of 10. The Notification seems to be granular to the second, so I was intermittently ending up with a notification at 15:12:23.911 and the following one at 15:12:24.111, for example. These two notifications seemed to propagate as separate threads (a debug trace showed them both executing within the same downstream ESQL module at the same time)
Out of interest, I wrapped the downstream ESQL with some code within an ATOMIC Begin-end stanza. I'd expect this to have single threaded the overlapping notifications, but it didn't.
Is this because the overlapping notifications are in fact time sharing within the same thread? Or is the ATOMIC stanza not actually establishing an appropriate mutex?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum