I just re-open one of my older project and did few inter-process communication tests on my Mac. Well, I ended miserably at the very beginning of this exercise: I discovered that Mac OS X version 10.6.8 (Snow Leopard) (still) doesn't support PTHREAD_PROCESS_SHARED. It is even written in relevant man page!
This is really shame of Apple: sharing ptheads synchronization primitives across processes unlocks great deal of innovative inter-process communication techniques. Now it looks like that only way is to use something proprietary/unique only to Mac OS X and sacrifice portion of portability.
:-(
No comments:
Post a Comment