Mapping processes

Luke Gorrie luke@REDACTED
Wed Dec 18 12:56:04 CET 2002


"Eduardo Figoli" <eduardo@REDACTED> writes:

> I'm thinking how to map processes with request Id so to manage
> callbacks when using ports.
> What do you think about using register(reqId, PID) and
> whereis(reqId) to retrieve the PID so to send the response, in an
> async. way, to the calling process.

Maybe you can use the PID as/in the request ID itself?

-Luke




More information about the erlang-questions mailing list