I'm working around a ad hoc version of Ports for my project to filter
out unwanted messages.
From
http://www.mozart-oz.org/documentation/tutorial/node9.html#section.stateful.port
I'm hacking the Figure 9.3
(Looks like Chunk.hasFeature produce an error)
Is that an asynchronous Send?
Mine should be
proc {Send P M} Mr in
lock Lock then
if {IsRecord M} andthen
for A in {Arity M} default:true return:R do
for V in {Dictionary.condGet Validators A [(fun {$ R} true
end)]} do
if {Not {V M}} then {R false} end
end
end
then M|!!Mr = (P.Name):= Mr end
end
end
IMO the caller will wait for the procedure to complete ....
What happens when I produce that procedure on the internet as a
service.Will it be async?
Thanks for explanations
Paolino
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users