On May 7, 2010, at 10:49 AM, SHOO wrote:

> Me challenge at this time is NamedMutex.
> 
> http://ideone.com/EKYBO
> 
> The module about IPC is not included in Phobos and druntime at all now.
> I suggest NamedMutex by this contribution experimentally.
> NamedMutex can operate like normal Mutex. But NamedMutex allows
> reference by name over the process.
> This may help that file locking in CGI, restraint of the multi-running
> process, etc...
> 
> What do you think?

I think it's a good idea.  I would have created one already, but the 
differences between Win32 and Posix named mutexes are fairly substantial, and I 
haven't spent the time to figure out how to hide the differences in a way that 
would make both camps happy.  It would be nice if it were possible to have a 
SharedCondition class that integrates with this as well, though that may turn 
out to be a tad tricky.

> I can say with confidence this time. "I do not see Tango at all."

They don't exist in Tango.  I know because I created tango.core.sync, which is 
reflected in core.sync in druntime.
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to