thread-safety of counters
Adrian Szyndela
adrian.s at samsung.com
Wed Feb 25 00:54:05 PST 2015
W dniu 24.02.2015 o 18:41, Thiago Macieira pisze:
> DBusCounter is not meant to be atomic. All accesses should be protected by
> mutex.
Ok, let's do this. I just need a few answers, and I'll prepare a patch:
an existing mutex or a new one? If an existing, then which one? If a new
one, then to what objects should it be added? Counters? Messages?
And, as I really want to understand it better, could you give some
rationale for "mutex vs. atomic"?
More information about the dbus
mailing list