anlsys / libnrm

Node Resource Manager communication library
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

thread-safe refcounts in nrm_string_t #55

Closed perarnau closed 1 year ago

perarnau commented 1 year ago

We need to change the decref/incref function to use atomics, as we might end up updating them from different threads (between role brokers and main daemon thread for example).