#define LOSCFG_BASE_IPC_SEM_LIMIT   6

Maximum supported number of semaphores

在文件los_config.h291行定义。