Codebase list erlang-p1-utils / c80449e
Merge tag 'upstream/1.0.5' Upstream version 1.0.5 Philipp Huebner 7 years ago
2 changed file(s) with 16 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
307307 enter_loop(Mod, Options, StateName, StateData, ServerName, Timeout) ->
308308 Name = get_proc_name(ServerName),
309309 Parent = get_parent(),
310 Debug = gen:debug_options(Options),
310 Debug = debug_options(Options),
311311 Limits = limit_options(Options),
312312 Queue = queue:new(),
313313 QueueLen = 0,
369369 init_it(Starter, self(), Name, Mod, Args, Options);
370370 init_it(Starter, Parent, Name0, Mod, Args, Options) ->
371371 Name = name(Name0),
372 Debug = gen:debug_options(Options),
372 Debug = debug_options(Options),
373373 Limits = limit_options(Options),
374374 Queue = queue:new(),
375375 QueueLen = 0,
904904 {badrpc, timeout}
905905 end
906906 end.
907
908 opt(Op, [{Op, Value}|_]) ->
909 {ok, Value};
910 opt(Op, [_|Options]) ->
911 opt(Op, Options);
912 opt(_, []) ->
913 false.
914
915 debug_options(Opts) ->
916 case opt(debug, Opts) of
917 {ok, Options} -> sys:debug_options(Options);
918 _ -> []
919 end.
00 {application, p1_utils,
11 [
22 {description, "Erlang utility modules from ProcessOne"},
3 {vsn, "1.0.4"},
3 {vsn, "1.0.5"},
44 {modules, []},
55 {registered, []},
66 {applications, [