about semget时间:2023-03-09 13:38:41 flags must include read,write,execute permission. for examples: semget( 3333, 1, IPC_CREAT | IPC_EXCL | 0666 ); if there is not a '0666', then 'semop' wait will succed always.