equeue: align passed-in buffer
Make equeue_create_inplace align the passed-in buffer and size to
sizeof(void *).

Really we should be aiming to align more for ARM, as blocks should be
8-byte aligned, but the internal heap mechanisms only work to 4-byte
alignment at the moment. More work would be needed to ensure 8-byte
alignment of allocated blocks.
ls
1 parent 0403883 commit db18c2252e3da6db0d2600cf259cb7ff6e53bf5b
@Kevin Bracey Kevin Bracey authored on 3 Apr 2019
Showing 1 changed file
View
events/equeue/equeue.c