[erlisp-devel] name(s) for link function
Dirk Gerrits
dirk at dirkgerrits.com
Fri Aug 26 14:53:01 UTC 2005
Eric Lavigne wrote:
>>In this case I would make the API
>>(link :to pid)
>>(link :from pid)
>>(link :to-from pid)
>
>
> I like the idea, but it is not clear to me which direction :from and
> :to refer to. Which one matches my "link" and which matches
> "reverse-link"? Which one says "please notify me when you terminate"?
> Which one says "I will notify you when I terminate"?
Yes that's a problem with both proposed API's. ;) Anyway, as was said
earlier, it'd probably be better if the process that wants to be
notified always initiates the link, so there would only be a (LINK pid)
and there could be little confusion.
- Dirk
More information about the Erlisp-devel
mailing list