Shared semaphore between user and kernel spaces

前端 未结 8 1133
死守一世寂寞
死守一世寂寞 2020-12-24 07:29

Short version

Is it possible to share a semaphore (or any other synchronization lock) between user space and kernel space? Named POSIX semaphores have kernel persi

8条回答
  •  眼角桃花
    2020-12-24 07:55

    As I'm sure you know, even the best working solution to this would likely be very ugly. If I were in your place, I would simply concede the battle and use rendezvous points to sync the processes

提交回复
热议问题