Remove deprecated macro SNAPSHOT_DEF.

Shall use SNAPSHOT_SPSC_DEF
This commit is contained in:
Patrick Pelissier committed 2018-06-27 20:04:18 +02:00
1 parent 397f75a4db
commit 522632bea6
3 files changed
+2 -5

No files matched your search

+1 -1
View File
@@ -7,4 +7,4 @@ V0.2.*: * worker_sync takes a 'worker_t' as an additional parameter
(This allows to perform a wait-on-event instead of a busy waiting).
* worker_init takes an int as numWorker instead of an unsingned int.
* RBTREE pop method has been renamed into _pop_at
* SNAPSHOT_DEF has been removed. use SNAPSHOT_SPSC_DEF
-3
View File
@@ -29,9 +29,6 @@
#include "m-core.h"
#include "m-genint.h"
// For compatibility with previous version
#define SNAPSHOT_DEF SNAPSHOT_SPSC_DEF
/* Define a SRSW snapshot and it function
USAGE: SNAPSHOT_SPSC_DEF(name, type[, oplist]) */
#define SNAPSHOT_SPSC_DEF(name, ...) \
+1 -1
View File
@@ -51,7 +51,7 @@ SNAPSHOT_SPSC_DEF(snapshot_mpz, testobj_t, TESTOBJ_OPLIST)
SNAPSHOT_SPMC_DEF(snapshot_mrsw_data, data_t, DATA_OPLIST)
SNAPSHOT_MPMC_DEF(snapshot_mrmw_data, data_t, DATA_OPLIST)
END_COVERAGE
SNAPSHOT_DEF(snapshot_data, data_t, DATA_OPLIST )
SNAPSHOT_SPSC_DEF(snapshot_data, data_t, DATA_OPLIST )
static void test_uint(void)