Hi All,
I'm now working on porting our system to the Mac OS X. Everything works well except one strange thing on process's exit and I can't understand where we have gone worng.
Application (which is multiprocess in nature) extensively uses shm_open/mmap/munmap system calls to share memory between processes. The problem is that on exit this application hangs (almost absolutely) whole system for a few seconds. Removing of some mmap/munmap calls solves this problem. I don't know what is going on at this moment. I want also to mention that this code works perfectly on FreeBSD/Linux/Windows.
Are there any ideas?
System is 10.4.11 PPC.
I'm now working on porting our system to the Mac OS X. Everything works well except one strange thing on process's exit and I can't understand where we have gone worng.
Application (which is multiprocess in nature) extensively uses shm_open/mmap/munmap system calls to share memory between processes. The problem is that on exit this application hangs (almost absolutely) whole system for a few seconds. Removing of some mmap/munmap calls solves this problem. I don't know what is going on at this moment. I want also to mention that this code works perfectly on FreeBSD/Linux/Windows.
Are there any ideas?
System is 10.4.11 PPC.