gen_server
Lennart Öhman
lennart.ohman@REDACTED
Mon Dec 15 23:48:47 CET 2003
A client making a request using gen_server:call (hopefully
hidden in an API function) waits until a response is sent
back from the gen_server process. That response (message)
makes the gen_server:call function return a return value.
/Lennart
Inswitch Solutions - Erlang Evaluation wrote:
> When calling gen_server:call, does it blocks the gen_server process?
>
> From another point of view does gen_server solve the pattern of multiple
> clients requests calling in a synchronous way (gen_server:call)?
> For each client a process should be spawned.
>
> Thanks,
> Eduardo Figoli
>
>
--
-------------------------------------------------------------
Lennart Ohman phone : +46-8-587 623 27
Sjoland & Thyselius Telecom AB cellular: +46-70-552 6735
Sehlstedtsgatan 6 fax : +46-8-667 8230
SE-115 28 STOCKHOLM, SWEDEN email : lennart.ohman@REDACTED
More information about the erlang-questions
mailing list