Tag Archives: linux

erl_ddll and dlopen

In Erlang we can use module erl_ddll to dynamically load a native driver library. The process is very complicated. It is implemented in these files:     otp_src_R14B01/erts/emulator/beam/erl_bif_ddll.c     otp_src_R14B01/erts/emulator/sys/unix/erl_unix_sys_ddll.c     otp_src_R14B01/erts/emulator/sys/win32/erl_win32_sys_ddll.c     … Both erl_unix_sys_dll.c and erl_win32_sys_ddll.c have implemented a common interface which is … Continue reading

Posted in erlang | Tagged , | Leave a comment