Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Event Order ...
#21
I've written the code, AFAIK. I'll have to test it out tomorrow. I ended up not using the semaphore due to some potential race condition issues. I went with the event that worker threads post when they are done.
Dean Roddey
Explorans limites defectum
Reply
#22
OK, a good bit of testing and it seems to be working. And the code is considerably cleaner now despite the extra bit of complexity. Maybe there's some pathological scenario I'm not seeing, but it seems to be solid. I added a new statistic to the event server that shows number of event worker threads busy, to help diagnose weirdness that might arise.
Dean Roddey
Explorans limites defectum
Reply
#23
OK, if 5.3.928 is posted, so if you want to give it a try.
Dean Roddey
Explorans limites defectum
Reply
#24
Okay, 5.3.930 seems to have fixed this problem.

My test case reproduces when "Serialize this event" is not checked, and does not reproduce when serialize is checked.  Yay!

Thanks -- Bob
Reply
#25
Okey dokey. So just keep an eye on it and let me know if you see any questionable behavior.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Triggered Event Server not triggering EST 52 5,127 08-10-2018, 11:23 AM
Last Post: Dean Roddey
  Triggered Event Questions RichardU 3 710 07-14-2018, 03:53 PM
Last Post: Dean Roddey
  Triggered event w/ multiple triggers lleo 16 1,932 06-06-2018, 06:21 PM
Last Post: lleo
  Event entry not responding! Deane Johnson 4 1,128 12-11-2017, 02:10 PM
Last Post: Dean Roddey
  Writing to an external file from trigger event Ira 21 4,949 11-13-2017, 02:08 PM
Last Post: znelbok
  Motion Event Running Twice? zra 2 1,325 07-31-2017, 08:15 PM
Last Post: zra
  EVent Server Monitor znelbok 1 1,138 06-07-2017, 12:36 PM
Last Post: Dean Roddey
  I have an event that I want to happen 5 hours after sunset. ghurty 8 3,098 03-24-2017, 08:40 AM
Last Post: Dean Roddey
  Scheduled Event - Yearly Basis Bugman 2 1,286 11-07-2016, 04:44 PM
Last Post: Dean Roddey
  Vizia RF scene controller event traps? IVB 64 6,386 08-16-2016, 01:58 PM
Last Post: IVB

Forum Jump:


Users browsing this thread: 1 Guest(s)