mirror of https://github.com/commaai/cereal.git
msgq: bump num readers up a bit (#379)
This commit is contained in:
parent
79e6e4c26d
commit
1d25fc3f20
|
@ -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 10
|
#define NUM_READERS 12
|
||||||
#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