Configuring Occam Programs
Your Occam application is written, debugged, and found correct. (The latter is an exaggeration. It takes some nerve to claim that a distributed application is correct.) The last stage of the project is the configuration—tuning the application parameters.
Prioritization
Alternative Processes and Timers, introduced alternative processes executed based on the availability of inputs. It didn’t say what happens if two or more inputs become available simultaneously. It’s up to the Occam runtime scheduler to decide which process to execute first. Fair enough, the runtime scheduler is clever, but you may want to have a say—in other words, assign higher or lower priorities to the channels.
Prioritization is a blessing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access