On Sat, Dec 07, 2013 at 14:11, Vadim Zhukov wrote: > This patch fixes problems in KDE4, that relies on sharing (process-shared) > semaphores via mmap(). This feature is used in the wild, so if we claim > that we support process-shared semaphores, we have to implement it, too. > > This changes the sem_t definition: it becomes a synonim to struct __sem > instead of being a pointer to it. This way we allow apps to have sem_t in > shared memory via sem_init() and thus share it between processes (by, > e.g., mmap()'ing the same file). Of course, this forces a major library > version bump.
This requires more thought. If the introduction of pshared support is breaking things, maybe just that part can be reverted for now.
