An OTP non-compatible gen_server
$ rebar3 compile
Not implemented
- timeouts
- handle_continue -- just a sugar. but we can easily support it
- hibernation
- registered processes - Need to choose between gpoc/pg2/global/syn/whatever
-
enter_loopthere is no good reason to us it. There is no any popular open-source library that uses it. Also requiresproc_lib
which is not good. -
distibuted stuffmulticall
andabcast
shoud be done within registry
cloc src/gen_server2.erl
1 text file.
1 unique file.
0 files ignored.
github.com/AlDanial/cloc v 1.80 T=0.01 s (89.6 files/s, 10488.4 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Erlang 1 22 1 94
-------------------------------------------------------------------------------