mirror of https://github.com/commaai/cereal.git
msgq: bump num readers to 10
This commit is contained in:
parent
a8055c3f21
commit
eb204d4a55
|
@ -5,7 +5,7 @@
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|
||||||
#define DEFAULT_SEGMENT_SIZE (10 * 1024 * 1024)
|
#define DEFAULT_SEGMENT_SIZE (10 * 1024 * 1024)
|
||||||
#define NUM_READERS 8
|
#define NUM_READERS 10
|
||||||
#define ALIGN(n) ((n + (8 - 1)) & -8)
|
#define ALIGN(n) ((n + (8 - 1)) & -8)
|
||||||
|
|
||||||
#define UNPACK64(higher, lower, input) do {uint64_t tmp = input; higher = tmp >> 32; lower = tmp & 0xFFFFFFFF;} while (0)
|
#define UNPACK64(higher, lower, input) do {uint64_t tmp = input; higher = tmp >> 32; lower = tmp & 0xFFFFFFFF;} while (0)
|
||||||
|
|
Loading…
Reference in New Issue