Remove deprecated macro SNAPSHOT_DEF.
Shall use SNAPSHOT_SPSC_DEF
This commit is contained in:
1 parent
397f75a4db
commit
522632bea6
3 files changed
+2
-5
No files matched your search
+1
-1
@@ -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).
|
(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.
|
* worker_init takes an int as numWorker instead of an unsingned int.
|
||||||
* RBTREE pop method has been renamed into _pop_at
|
* RBTREE pop method has been renamed into _pop_at
|
||||||
|
* SNAPSHOT_DEF has been removed. use SNAPSHOT_SPSC_DEF
|
||||||
@@ -29,9 +29,6 @@
|
|||||||
#include "m-core.h"
|
#include "m-core.h"
|
||||||
#include "m-genint.h"
|
#include "m-genint.h"
|
||||||
|
|
||||||
// For compatibility with previous version
|
|
||||||
#define SNAPSHOT_DEF SNAPSHOT_SPSC_DEF
|
|
||||||
|
|
||||||
/* Define a SRSW snapshot and it function
|
/* Define a SRSW snapshot and it function
|
||||||
USAGE: SNAPSHOT_SPSC_DEF(name, type[, oplist]) */
|
USAGE: SNAPSHOT_SPSC_DEF(name, type[, oplist]) */
|
||||||
#define SNAPSHOT_SPSC_DEF(name, ...) \
|
#define SNAPSHOT_SPSC_DEF(name, ...) \
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ SNAPSHOT_SPSC_DEF(snapshot_mpz, testobj_t, TESTOBJ_OPLIST)
|
|||||||
SNAPSHOT_SPMC_DEF(snapshot_mrsw_data, data_t, DATA_OPLIST)
|
SNAPSHOT_SPMC_DEF(snapshot_mrsw_data, data_t, DATA_OPLIST)
|
||||||
SNAPSHOT_MPMC_DEF(snapshot_mrmw_data, data_t, DATA_OPLIST)
|
SNAPSHOT_MPMC_DEF(snapshot_mrmw_data, data_t, DATA_OPLIST)
|
||||||
END_COVERAGE
|
END_COVERAGE
|
||||||
SNAPSHOT_DEF(snapshot_data, data_t, DATA_OPLIST )
|
SNAPSHOT_SPSC_DEF(snapshot_data, data_t, DATA_OPLIST )
|
||||||
|
|
||||||
|
|
||||||
static void test_uint(void)
|
static void test_uint(void)
|
||||||
|
|||||||
Reference in new issue
Block a user