[erlang-questions] ErlNifTid to integer
Michael Uvarov
freeakk@REDACTED
Fri Oct 14 19:49:15 CEST 2011
Hello,
Is there a standard way to cast ErlNifTid to integer?
I have a resource which stores copies of data for each thread. One
thread - one copy. Now I search the copy for the current thread in the
cycle. It is also possible to do this task using hashing and direct
access to the copy. How can I do this in effective manner?
--
Best regards,
Uvarov Michael
More information about the erlang-questions
mailing list