Revision: 28452
          http://sourceforge.net/p/bibdesk/svn/28452
Author:   hofman
Date:     2023-11-19 14:56:55 +0000 (Sun, 19 Nov 2023)
Log Message:
-----------
fix some FVAtomic macros

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVAtomic.h

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVAtomic.h
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVAtomic.h        2023-11-19 
09:54:21 UTC (rev 28451)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVAtomic.h        2023-11-19 
14:56:55 UTC (rev 28452)
@@ -55,8 +55,8 @@
 #define FVAtomicSet(_var) atomic_store(&_var, YES)
 #define FVAtomicUnset(_var) atomic_store(&_var, NO)
 
-#define FVAtomicInc(_var) atomic_store(&_var, 1)
-#define FVAtomicDec(_var) atomic_store(&_var, 1)
+#define FVAtomicInc(_var) atomic_fetch_add(&_var, 1)
+#define FVAtomicDec(_var) atomic_fetch_sub(&_var, 1)
 
 #else
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to