!485 调整IPC_MSG_DATA_SZ_MAX保持与用户态的IPC_IO_DATA_MAX约束一致
Merge pull request !485 from Caoruihong/liteipc_datasize
This commit is contained in:
commit
9b4fd13c3c
|
@ -51,7 +51,8 @@
|
|||
|
||||
#define USE_TASKID_AS_HANDLE YES
|
||||
#define USE_MMAP YES
|
||||
#define IPC_MSG_DATA_SZ_MAX 1024
|
||||
#define IPC_IO_DATA_MAX 8192UL
|
||||
#define IPC_MSG_DATA_SZ_MAX (IPC_IO_DATA_MAX * sizeof(SpecialObj) / (sizeof(SpecialObj) + sizeof(size_t)))
|
||||
#define IPC_MSG_OBJECT_NUM_MAX (IPC_MSG_DATA_SZ_MAX / sizeof(SpecialObj))
|
||||
|
||||
#define LITE_IPC_POOL_NAME "liteipc"
|
||||
|
|
Loading…
Reference in New Issue