El Jueves, 7 de Enero de 2010, Eric Wong escribi
> Iki Baz Castillo <ibc / aliax.net> wrote:
> > El Jueves, 7 de Enero de 2010, Eric Wong escribi
> > > If you only talk between processes on one machine (since you're trying
> > > FIFOs), you can also check out the "posix_mq" gem/library I started
> > > recently:
> > >
> > >         http://bogomips.org/ruby_posix_mq/
> >
> > Really interesting. Is it safe to have various processes (Unicorn
> > workers) writting to a single posix_mq? or will the data be "mixed"? is
> > there any way to perform "atomic" writting operation in this queue?
> 
> These queues are completely atomic at the message level and descriptors
> can be safely shared between processes/threads.  SysV message queues
> weren't thread-safe, but POSIX ones are.

Great!


-- 
Iki Baz Castillo <ibc / aliax.net>