[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LOGO-L> Re: LOGO-L> Is Logo old technology?



Brian Harvey wrote in message <73pgqn$h6$1@agate.berkeley.edu>...

>I don't know what MW does, but StarLogo tries to guarantee correct
>results without making the user aware of synchronization issues, by,
>for example, always guaranteeing that in an IF, the test and the first
>action in the conditional instruction sequence are done atomically.

That probably works fine in a SIMD language like StarLogo. But atomicity is
dangerous in general, since it can lead to deadlock. Here, if the
conditional test is a procedure call then that procedure may in turn access
something that has been locked by this hidden atomicity rule. And then
progress stops.

Best,

-ken kahn (www.toontalk.com)


---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home