chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prep v228: Added missing src/basic/unaligned.h from upstream
[elogind.git]
/
src
/
basic
/
refcnt.h
diff --git
a/src/basic/refcnt.h
b/src/basic/refcnt.h
index 0502c20a2e50448028013341f150990f36e9d571..8a39d69fe4090cd1c49823b79de11be76cc6633e 100644
(file)
--- a/
src/basic/refcnt.h
+++ b/
src/basic/refcnt.h
@@
-21,7
+21,9
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-/* A type-safe atomic refcounter */
+/* A type-safe atomic refcounter.
+ *
+ * DO NOT USE THIS UNLESS YOU ACTUALLY CARE ABOUT THREAD SAFETY! */
typedef struct {
volatile unsigned _value;
typedef struct {
volatile unsigned _value;