I tried to invoke enif_send from a created thread. Mainly, I have an erlang process which listen to a received message emitted from my nif. Firstly, ...
I tried to invoke enif_send from a created thread. Mainly, I have an erlang process which listen to a received message emitted from my nif. Firstly, ...
How can I send all elements of a list one by one, from the original process to another process through message passing in Erlang? ...
Erlang Interoperability guide discusses different interoperability mechanisms. Here are my conclusions: Ports and Erl_Interface programs: OS sched ...
I am playing with erl_driver. Start callback of my driver is below: ErlDrvData drv_start(ErlDrvPort port, char* command) { char* file_name = command ...
According to erl_driver documentation for driver_async_port_key function, Before OTP-R16, the actual port id could be used as a key with proper ca ...
I replaced following code (where dataset_p has type ErlDrvTermData** and term_count_p is an int*) with where append_to_dataset is defined as ...
Erlang R15B added ErlDrvSSizeT typedef, and R16B added erl_drv_output_term function and deprecated the old equivalent. Is there a way to test for thes ...
Erlang experts, I am getting a data like the following from ejabberd server I am a very much confused about this data type. All I need is to get ti ...
We have try to use lager as our log framework. But we meet some problem. lager may lost some date, we have saw the source code of lager, I think t ...
I could not build and test following cassandra erlang client in ubuntu. https://github.com/matehat/cqerl#connecting.How to do it? ...
I ve been trying to install mysql driver using https://github.com/dizzyd/erlang-mysql-driver I am using Erlang 5.10.3. Any update for the driver to ...
Given a known TCP port and name for a remote beam.smp service, as well as a known cookie, is it possible to short circuit the Erlang Port Mapper Daemo ...
I am trying to better understand how Erlang drivers work, and I started with a simple example from a book, but when I went to compile the C file conta ...
e.g. I save the tuple T = {k1, v1, k2, v2} to the redis by jedis: I am trying to use the code below to read this erlang term: The error is: com. ...
My code is like this: 27017 is the primary node, so ofc I can insert the data successfully. But, when I put only one secondary node in the code in ...
Given the following loop on each element of a list: How to catch the errors and continue to loop on the elements ? Same question if this code is i ...
How can I profile a linked-in port driver? OTP tools (fprof, etc.) apparently only profile Erlang code, and I don't have a C executable file to feed t ...