[erlang-questions] locking in inet_drv.c
Mon May 11 17:15:17 CEST 2009
I'm reading inet_drv.c, and came across this comment (R13B):
* The erts_smp_spin_* functions should not be used by drivers (but this
* driver is special). Replace when driver locking api has been
#define BUFSTK_LOCK erts_smp_spin_lock(&inet_buffer_stack_lock);
#define BUFSTK_UNLOCK erts_smp_spin_unlock(&inet_buffer_stack_lock);
It may not matter much, but...
Hasn't the driver locking api been implemented now?
CTO, Erlang Training & Consulting Ltd
More information about the erlang-questions