cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
79
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Rob Husband on 22-12-2010 11:23:58 AM
Hello

Crestron's latest firmware release has changed the way in which the WAIT statement works. The company I work for has been in conversation with Crestron in the US, and they are now saying that this was due to a bug that has been fixed AFTER 7 YEARS!!!

Basically for as long as I have been writing Simpl+ modules, the WAIT statement would block all other calls to the same WAIT statement until the currently running one had finished. I used this a lot to solve re-entry, to ensure a single thread ran at a time. I'm sure there are those of you that will instantly mention 'Semaphores', however regardless of whether or not this is a better method, I have hundreds of modules that use a WAIT to ensure a single thread.

The latest release of firmware has fundamentally changed this, so now numerous WAIT statements can be triggered and spawn new threads every time. This is, of course, playing havoc with my programs (of which there are hundreds).

Crestron are now saying that this 'blocking' feature was, in fact, a bug. So for the last 7 years I have been using a bug? Ridiculous. My intention is:

A) Find out if any other Simpl+ module writers have used the WAIT statement as a form of thread control

Get you to email tleerentveld@crestron.com (Toine at Crestron US) because at the moment I am being told to re-write all of my modules, which logistically is going to be a complete nightmare.

I find it extremely hard to believe that this feature of WAIT has been a bug for 7 years; if the WAIT statement is going to go through a complete paradigm shift, the obvious solution would be to create a new WAIT, maybe called WAITNOBLOCK or similar.

Any support you can give me on this would be extremely helpful.

Rob
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links