
El 27/10/2011 14:24, Dan Brown escribió:
Hi,
Attached is a patch to implement interprocess_condition and interprocess_mutex natively on Windows. Following are some detailed notes. I hope this isn't too awkward of a time for a submission like this - I realize there's a lot of 1.48 activity going on. One more note about the patch - IIRC, some patch utils won't create directories. This patch is intended to be applied to boost/interprocess and relies on a new directory boost/interprocess/sync/win32.
You can't put HANDLEs as members for classes shared in memory between processes as they are void pointers only useful for the process that creates them. Using native windows synchronization for process shared synchronization primitives with POSIX lifetime semantics is not easy, no project like APR or Cygwin has achieved this AFAIK. Ion