Real-time and priorities

35 views
Skip to first unread message

Marius Amado-Alves

unread,
Aug 27, 2018, 6:56:43 AM8/27/18
to ParaSail Programming Language
(Sorry if this has been asked before. I searched but did not find.)

How does ParaSail or Sparkel handle real-time requirements e.g. a periodic task, and priorities including preemption and interrupts?

Thanks.

Tucker Taft

unread,
Aug 27, 2018, 7:29:31 AM8/27/18
to ParaSail Programming Language
ParaSail has the notion of "concurrent objects" which enable safe synchronized access to shared data, but also provide real-time event-based programming, by using "queued" access based on a "dequeue condition" which can be an arbitrary boolean condition, or can be a time-based condition.  For examples included in the ParaSail release, see the PSL::Core::Clock, PSL::Core::Atomic, and PSL::Core::IO modules in lib/aaa.psi, and the "Drinking Philosophers" example in examples/drinking_phils.psl.

Feel free to ask more specific questions based on these examples.

-Tuck

--
You received this message because you are subscribed to the Google Groups "ParaSail Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to parasail-programming...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages