emmap icon indicating copy to clipboard operation
emmap copied to clipboard

Erlang Memory Map

Results 4 emmap issues
Sort by recently updated
recently updated
newest added

Have you tried concurrent access to the memory mapped file from two shells? ``` erlang 43> os:cmd("cat /dev/shm/test"). "3\n1\n7\n8\n4\n5\n" 44> f(Mem), {ok, Mem} = emmap:open("/dev/shm/test", [read, write, shared, nolock, nocache])....

Fixed one if branch that may result in uninitialized position variable

I'm using this functionality to speed up data transfer of big binary data via the file-based shared-memory area in `/run/shm/...` instead of sidio-based ports. I only transfer the path and...

c_src/emmap.cpp:545:18: warning: variable 'position' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] Suggest initialise local variable position at its declaration.