chiark / gitweb /
basic: document that people shouldn't use refcnt.h without reason
authorLennart Poettering <lennart@poettering.net>
Wed, 26 Aug 2015 19:04:38 +0000 (21:04 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:19:06 +0000 (10:19 +0100)
commit372e2cc96c65d0a92eb969be911ace6d2dc8fc46
treedf45ff5711320209c5124c0fa8d8ff05a84c76c7
parent903ff64069e63a831ad1036182d4e56421e0dc86
basic: document that people shouldn't use refcnt.h without reason

refcnt.h only exists for cases where objects are simultaneously handled
by different threads. Otherwise it should not be used. The only case
where this applies is sd_bus, really, and pretty much none of our APIs,
since we do not claim thread-safety for them.
src/basic/refcnt.h