X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Frefcnt.h;h=1d77a6445afa599aed07a61a80066473a90235e4;hp=0502c20a2e50448028013341f150990f36e9d571;hb=3835ce8528f80dc21606c6c01b90423ba317289b;hpb=1cfc78c91965df340cdde100ad6cb3ed50b28927 diff --git a/src/basic/refcnt.h b/src/basic/refcnt.h index 0502c20a2..1d77a6445 100644 --- a/src/basic/refcnt.h +++ b/src/basic/refcnt.h @@ -1,5 +1,3 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - #pragma once /*** @@ -21,7 +19,9 @@ along with systemd; If not, see . ***/ -/* 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;