ev_async_send() not trigerring corresponding async handler in target loop ?

Marc Lehmann schmorp at schmorp.de
Thu Dec 31 14:10:57 CET 2009


On Thu, Dec 31, 2009 at 11:25:44AM +0100, Pierre-Yves Kerembellec <py.kerembellec at gmail.com> wrote:
> > If it isn't sharable across processes (using, well, shared memory) then
> > it's not sharable between threads either, me thinks. The difference is
> > simply that threads force shared memory for everything.
> 
> It's a simple in-memory malloc-ed cache, no shared memory is involved
> (i.e. no shmem() and stuff).

all memory is shared memory when you use threads - maybe that was too
obvious :)

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list