test/mpool_tests.c

changeset 131
fc3af16818a3
parent 113
8693d7874773
child 134
4d320dc3a7af
equal deleted inserted replaced
130:633f15ce2ee4 131:fc3af16818a3
121 121
122 UCX_TEST_END 122 UCX_TEST_END
123 ucx_mempool_destroy(pool); 123 ucx_mempool_destroy(pool);
124 } 124 }
125 125
126 void test_setdestr(void* elem) { 126 UCX_EXTERN void test_setdestr(void* elem) {
127 intptr_t *cb = (intptr_t*) ((intptr_t*) elem)[1]; 127 intptr_t *cb = (intptr_t*) ((intptr_t*) elem)[1];
128 *cb = 42; 128 *cb = 42;
129 } 129 }
130 130
131 UCX_TEST_IMPLEMENT(test_ucx_mempool_set_destr) { 131 UCX_TEST_IMPLEMENT(test_ucx_mempool_set_destr) {

mercurial