]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
Merge branch 'master' into threading
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index 49b5a824437e2dc3ce2ee7f22849f8148cf75a36..50abefee7d6ee2fe496d4364827cd5486995bc82 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -402,6 +402,10 @@ void         *util_htgeth(hash_table_t *ht, const char *key, size_t hash);
 int           util_snprintf(char *str, size_t, const char *fmt, ...);
 
 
+/* thread.c */
+uint32_t util_atomic_xadd32(volatile uint32_t *x, uint32_t v);
+
+
 /* fs.c */
 #define FS_FILE_SEEK_SET  0
 #define FS_FILE_SEEK_CUR  1