Dear Raoul,
Sorry for the late reply. I agree with the author of the wiki you
quoted (is it Russ Abbott?) that the Oz concurrent programming model
can be tricky for new users at first, because they may silently
block, e.g., as the result of some programming error.
However, there are easy ways to detect whether a program blocks. For
example, you may simple add some code at the end of your code which
does something (e.g., browse something) which allows you to check
whether this final statement was executed. Consider the example
below. As the example blocks, the final browsing statement is not
executed and so at least you know that the example is blocking...
local
X
in
{Browse hello}
%% !! blocks
{Browse X+3}
X = 4
end
{Browse endOfProgram}
This matter is discussed in somewhat more detail at the following
page (which is also no official Oz documentation :).
http://strasheela.sourceforge.net/strasheela/doc/Basics-2.html#sec43
Best
Torsten
--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-586219
Private: +44-1752-558917
http://strasheela.sourceforge.net
http://www.torsten-anders.de
On Sep 18, 2008, at 2:04 AM, Raoul Duke wrote:
while trying to read up on concurrency in Oz, I came across:
http://cs.calstatela.edu/wiki/index.php/Courses/CS_460/Fall_2005/
What_programmers_should_know_about_Oz
which seems to me, the clueless newbie, to raise some good usability
questions about how hard it might be to understand and debug Oz
dataflow concurrent programs due to nigh arbitrary thread suspension.
for those people on the list who have actually used the system
somewhat extensively, what is your experience? any tips + tricks?
sincerely.
______________________________________________________________________
___________
mozart-users mailing list mozart-
[EMAIL PROTECTED]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users