ev_ref, the other way round
Marc Lehmann
schmorp at schmorp.de
Tue Jun 23 23:09:47 CEST 2009
On Tue, Jun 23, 2009 at 11:42:55AM +0200, Gabriel Kerneis <kerneis at pps.jussieu.fr> wrote:
> > If you want to support that, it's manual hackwork anyways (which is,
> > again, morally acceptable :)
>
> I'm embedding libev in libcpc.a anyway, bypassing any system-wide libev,
> so I think it should be ok (unless I missed something).
Yes, the only problems you could run into is that EV_ATOMIC_T is e.g. a
char not an int, or that struct stat could disagree. embedding avoids the
former, disabling stat watchers the latter, so you are perfectly safe :)
(And that's what libev was meant to provide, so you can be reasonably sure
that this is possible for future versions as well).
--
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