Fix usage of M_USE_SMALL_NAME (Reported by Brian Sipos)

This commit is contained in:
Patrick Pelissier committed 2025-02-03 22:33:07 +01:00
1 parent e1a4d359a2
commit b60553165d
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -169,7 +169,7 @@ typedef struct {
} m_indexhash_t; } m_indexhash_t;
// Define a basic array over such pair // Define a basic array over such pair
ARRAY_DEF(m_array_index, m_indexhash_t, M_POD_OPLIST) M_ARRAY_DEF(m_array_index, m_indexhash_t, M_POD_OPLIST)
/* Performing Quadratic probing /* Performing Quadratic probing
Replace it by '1' to perform linear probing */ Replace it by '1' to perform linear probing */
@@ -1444,7 +1444,7 @@ enum m_d1ct_oa_element_e {
M_CHECK_COMPATIBLE_OPLIST(name, 2, value_type, value_oplist) \ M_CHECK_COMPATIBLE_OPLIST(name, 2, value_type, value_oplist) \
\ \
/* NOTE: We don't want a real oplist for this sub type */ \ /* NOTE: We don't want a real oplist for this sub type */ \
ARRAY_DEF(M_F(name, _array_pair), M_F(name, _pair_ct), \ M_ARRAY_DEF(M_F(name, _array_pair), M_F(name, _pair_ct), \
(INIT(M_NOTHING_DEFAULT), SET(M_MEMCPY_DEFAULT), \ (INIT(M_NOTHING_DEFAULT), SET(M_MEMCPY_DEFAULT), \
INIT_SET(M_MEMCPY_DEFAULT), CLEAR(M_NOTHING_DEFAULT))) \ INIT_SET(M_MEMCPY_DEFAULT), CLEAR(M_NOTHING_DEFAULT))) \
\ \
+1 -1
View File
@@ -142,7 +142,7 @@ typedef struct m_work3r_thread_s {
} m_work3r_thread_ct; } m_work3r_thread_ct;
/* Definition of the queue that will record the work orders */ /* Definition of the queue that will record the work orders */
BUFFER_DEF(m_work3r_queue, m_work3r_order_ct, 0, M_BUFFER_DEF(m_work3r_queue, m_work3r_order_ct, 0,
BUFFER_QUEUE|BUFFER_UNBLOCKING_PUSH|BUFFER_BLOCKING_POP|BUFFER_THREAD_SAFE|BUFFER_DEFERRED_POP, M_WORK3R_OPLIST) BUFFER_QUEUE|BUFFER_UNBLOCKING_PUSH|BUFFER_BLOCKING_POP|BUFFER_THREAD_SAFE|BUFFER_DEFERRED_POP, M_WORK3R_OPLIST)
/* Definition the global pool of workers */ /* Definition the global pool of workers */