gen_server with spawn_opt

Ulf Wiger etxuwig@REDACTED
Wed Sep 12 16:56:05 CEST 2001


I will venture to answer that one.

As promised by the OTP team (ticket reference seq4927), it
*will* be documented (they didn't say when...).

The functions gen:spawn_opt/4 and proc_lib:spawn_opt/4 are the
underlying mechanisms, making this available to all behaviours.
Neither of them are documented... yet.

/Uffe

On Wed, 12 Sep 2001, Kent Johnson wrote:

>Is there a reason the that spawn_opts are not documented
>for the gen_server?
>
>For instance it is possible to do the following:
>
>gen_server:start_link({local, ?MODULE}, ?MODULE,[],
>     [{spawn_opt, [{min_heap_size, 3000}]}]).
>
>Is this feature not documented because it will be taken away?
>
>
>Thanks,
>
>-Kent


-- 
Ulf Wiger                                    tfn: +46  8 719 81 95
Senior System Architect                      mob: +46 70 519 81 95
Strategic Product & System Management    ATM Multiservice Networks
Data Backbone & Optical Services Division      Ericsson Telecom AB





More information about the erlang-questions mailing list