server-skynet-source-3rd-je.../test/integration
Jason Evans d82a5e6a34 Implement the *allocx() API.
Implement the *allocx() API, which is a successor to the *allocm() API.
The *allocx() functions are slightly simpler to use because they have
fewer parameters, they directly return the results of primary interest,
and mallocx()/rallocx() avoid the strict aliasing pitfall that
allocm()/rallocx() share with posix_memalign().  The following code
violates strict aliasing rules:

    foo_t *foo;
    allocm((void **)&foo, NULL, 42, 0);

whereas the following is safe:

    foo_t *foo;
    void *p;
    allocm(&p, NULL, 42, 0);
    foo = (foo_t *)p;

mallocx() does not have this problem:

    foo_t *foo = (foo_t *)mallocx(42, 0);
2013-12-12 22:35:52 -08:00
..
aligned_alloc.c Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
allocated.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
ALLOCM_ARENA.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
allocm.c Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
mallocx.c Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
mremap.c Refactor tests. 2013-12-08 20:52:21 -08:00
posix_memalign.c Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
rallocm.c Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
rallocx.c Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
thread_arena.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
thread_tcache_enabled.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
xallocx.c Implement the *allocx() API. 2013-12-12 22:35:52 -08:00