Path: news.daimi.aau.dk!jlk From: jlk@daimi.aau.dk (Jorgen Lindskov Knudsen) Newsgroups: comp.lang.beta Subject: Re: Alternative interaction between conc. objects Date: 10 Feb 1998 22:04:05 GMT Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 42 Message-ID: <6bqisl$dc1$1@nf.aau.dk> References: <6b9cj3$g7n$1@sessrymnir.ifi.uio.no> <6bdj38$s35$1@nf.aau.dk> <6bq5d5$90$1@sessrymnir.ifi.uio.no> Reply-To: jlknudsen@daimi.aau.dk (Jorgen Lindskov Knudsen) NNTP-Posting-Host: fraxinus.daimi.aau.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: NN version 6.5.1 (NOV) Xref: news.daimi.aau.dk comp.lang.beta:11385 In <6bq5d5$90$1@sessrymnir.ifi.uio.no> mikkelor@ifi.uio.no (Mikkel Orheim) writes: >In article <6bdj38$s35$1@nf.aau.dk>, olm@daimi.aau.dk (Ole Lehrmann Madsen) writes: >> In <6b9cj3$g7n$1@sessrymnir.ifi.uio.no> mikkelor@ifi.uio.no (Mikkel Orheim) writes: >> >> I am not aware of implementation of a scheme similar to the one >> suggested by Svend Frĝlund. I will, however, be very interested >> in seeing such an implementation in BETA. >> >> The BETA libraries do, however, have an implementation of >> Ada-like rendezvous where an object may decide wheter or not >> to accept an object. >I am aware of this rendevouz mechanism, but I find it inadequate >when it comes to describing/implementing objects with the ability >to "act" even when participating in a communication. What I'm >trying to say, is that the "do-part" is "lost" because the >communication is synchronized - the recieving object has to >"stand still" until an incoming message corresponding to the >acceptet port is recieved. >This I find troublesome, and in my theses (which will be finished >this monday) I propose an alternative scheme. Depending on your exact issues, you might want to have a look at ~beta/basiclib/v1.6/demo/systemenv/futures.bet which implements the concept of futures, which allows two communicating objects only to be synchronized during the start of the call, and when the result is needed. In the mean-time, the two objects may execute independently. Regards, Jorgen Lindskov Knudsen -- * Jorgen Lindskov Knudsen | Phone: +45 8942 3233 Fax: +45 8942 3255 * * Dept. of Computer Science | GSM: +45 2099 7357 * * Univ. of Aarhus, Building 540 | E-mail: jlknudsen@daimi.aau.dk * * Ny Munkegade, DK-8000 Aarhus C | WWW: http://www.daimi.aau.dk/~jlk *