Home
last modified time | relevance | path

Searched refs:PTHREADPOOL_CACHELINE_SIZE (Results 1 – 3 of 3) sorted by relevance

/external/pthreadpool/src/
Dmemory.c34 threadpool = memalign(PTHREADPOOL_CACHELINE_SIZE, threadpool_size); in pthreadpool_allocate()
39 threadpool = _aligned_malloc(threadpool_size, PTHREADPOOL_CACHELINE_SIZE); in pthreadpool_allocate()
44 if (posix_memalign((void**) &threadpool, PTHREADPOOL_CACHELINE_SIZE, threadpool_size) != 0) { in pthreadpool_allocate()
Dthreadpool-common.h45 #define PTHREADPOOL_CACHELINE_SIZE 64 macro
47 #define PTHREADPOOL_CACHELINE_ALIGNED __attribute__((__aligned__(PTHREADPOOL_CACHELINE_SIZE)))
49 #define PTHREADPOOL_CACHELINE_ALIGNED __declspec(align(PTHREADPOOL_CACHELINE_SIZE))
Dthreadpool-object.h81 PTHREADPOOL_STATIC_ASSERT(sizeof(struct thread_info) % PTHREADPOOL_CACHELINE_SIZE == 0,
709 PTHREADPOOL_STATIC_ASSERT(sizeof(struct pthreadpool) % PTHREADPOOL_CACHELINE_SIZE == 0,