Re: ABI report

2016-02-26 Thread Marc Lehmann
://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/mailman/listinfo/libev

Re: Error handling / ev_set_syserr_cb

2016-02-25 Thread Marc Lehmann
p://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/mailman/listinfo/libev

Re: unreliable timer with RUN_ONCE since 4.10

2016-02-24 Thread Marc Lehmann
e code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libe

Re: Error handling / ev_set_syserr_cb

2016-02-24 Thread Marc Lehmann
gal can be done with it anymore. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ //

Re: question on ev_loop_fork

2016-02-24 Thread Marc Lehmann
ode+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev m

Re: question on ev_loop_fork

2016-02-24 Thread Marc Lehmann
of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ _

Re: unreliable timer with RUN_ONCE since 4.10

2016-02-18 Thread Marc Lehmann
On Mon, Feb 15, 2016 at 02:02:34PM +0200, Alex Efros wrote: > On Mon, Feb 15, 2016 at 12:25:19PM +0100, Marc Lehmann wrote: > > If I run your script, then the reason the timer isn't invoked instantly > > is simply because it hasn't elapsed yet - try with delay -1 for exa

Re: libev directory detection

2016-02-17 Thread Marc Lehmann
n OS-specific API for this. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ /

Re: unreliable timer with RUN_ONCE since 4.10

2016-02-15 Thread Marc Lehmann
ode+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ _

Re: ISO Example for reading/writing uart/rs-232

2016-02-05 Thread Marc Lehmann
ce of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ __

Re: libev error handling

2016-02-04 Thread Marc Lehmann
ibev that does that, so your patch doesn't fix the problem at all (and I don't see how a similar approach could). -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_

Re: libev error handling

2016-02-03 Thread Marc Lehmann
, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___

Re: spelling in ev.pod: calender -> calendar

2016-01-23 Thread Marc Lehmann
ion ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/mailman/listinfo/libev

Re: sharing udp socket between several processes

2015-12-29 Thread Marc Lehmann
_GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list

libev-4.22 has just been released

2015-12-20 Thread Marc Lehmann
hoice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmo

Re: Several questions concerning libeio internals(+)

2015-12-16 Thread Marc Lehmann
libeio should force a specific one. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ //

Re: Several questions concerning libeio internals(+)

2015-12-16 Thread Marc Lehmann
d, as C (in the past) made no guarantees about atomicity between threads. It could surely be optimised "most everywhere", but if it doesn't hurt, erring on the correct side is a virtue. -- The choice of a Deliantra, the free code+content MORPG

Re: ISO Example for reading/writing uart/rs-232

2015-12-15 Thread Marc Lehmann
iantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/mailman/listinfo/libev

Re: Several questions concerning libeio internals(+)

2015-12-15 Thread Marc Lehmann
---==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/mailman/listinfo/libev

Re: ISO Example for reading/writing uart/rs-232

2015-12-15 Thread Marc Lehmann
eliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ _

Re: coro: Asm coro_transfer for arm7

2015-12-10 Thread Marc Lehmann
The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\

Re: coro: Asm coro_transfer for arm7

2015-12-05 Thread Marc Lehmann
The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_

Re: coro: Asm coro_transfer for arm7

2015-12-05 Thread Marc Lehmann
http://www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/mailman/listinfo/libev

Re: coro: Asm coro_transfer for arm7

2015-12-05 Thread Marc Lehmann
==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.sch

Re: libecb: PATCH ecb_ld* to use MSC intrinsics

2015-11-24 Thread Marc Lehmann
_GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.d

Re: Question on using C++ API

2015-11-18 Thread Marc Lehmann
int revents) -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...

Re: on license terms of libev.

2015-11-16 Thread Marc Lehmann
k alone. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==-

Re: invalid win32 accept() check in ev_pipe

2015-11-12 Thread Marc Lehmann
de+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___

Re: invalid win32 accept() check in ev_pipe

2015-11-11 Thread Marc Lehmann
iantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ _

Re: on license terms of libev.

2015-11-11 Thread Marc Lehmann
t means. Check the LICENSE file that comes with every copy, or the top of the source files you are going to copy. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _

Re: Redundant epoll_ctl with ev_io watcher

2015-11-07 Thread Marc Lehmann
common. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/mailman/listinfo/libev

Re: Redundant epoll_ctl with ev_io watcher

2015-11-06 Thread Marc Lehmann
ter, however, libev doesn't really have a concept of "watcher flags" that is exposed. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ----==-- _

Re: Compilation Error Under Visual Studio 14 on Windows (fixed)

2015-10-17 Thread Marc Lehmann
tent MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ _

Re: Bug Report: SIGPIPE during call to ev_async_send

2015-10-13 Thread Marc Lehmann
relase a new libev version soon. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ //

Re: Bug Report: SIGPIPE during call to ev_async_send

2015-10-12 Thread Marc Lehmann
the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ __

Re: Bug Report: SIGPIPE during call to ev_async_send

2015-10-12 Thread Marc Lehmann
quot;soon" there will be a release, and it will have that code. I am mainly waiting for you to test whether the change in libev seems to fix your problem or not. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www

Re: Bug Report: SIGPIPE during call to ev_async_send

2015-10-11 Thread Marc Lehmann
-==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ l

Re: Bug Report: SIGPIPE during call to ev_async_send

2015-10-11 Thread Marc Lehmann
MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing li

Re: libeio broken in revision 1.139

2015-10-11 Thread Marc Lehmann
me way maybe, or tried to use the etp pool directly in your code? -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ _

Re: libeio broken in revision 1.139

2015-10-11 Thread Marc Lehmann
-==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@

Re: a bug?

2015-09-21 Thread Marc Lehmann
a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ _

Re: libev-4.20, ev.h: fatal error: expected identifier

2015-08-09 Thread Marc Lehmann
anywhere near that line. Have you tried using gcc? -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ /

Re: Libecb: notes about alignas and alignof

2015-08-09 Thread Marc Lehmann
ls to this function after inlining it, or worse. We can either play risky then, or again resort to compiler builtins such as (possibly) __builtin_assume_sligned or somesuch. > this properly, some functions for this could still be useful for > libecb. And we cna always start with byte-wise

Re: [PATCH] Fix SPARCv8 condition

2015-08-08 Thread Marc Lehmann
s postgresql uses __sparcv8 as well and seems to have tested it, so I keep both) -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __

Re: repeating topic : detectect uncleanly closed socket

2015-08-07 Thread Marc Lehmann
he socket use? -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm.

Re: How does libev invoke an io watcher if both EV_READ and EV_WRITE are pending?

2015-07-30 Thread Marc Lehmann
orrect? Thanks. 2 - watcher callbacks always receive _all_ pending events. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __

Re: EXCEPTION and POLLPRI events

2015-07-06 Thread Marc Lehmann
ct directly or use poll to find out more, so there should always be a way to work around driver idiosyncrasies or use platform-specific event sources. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net

Re: Questions - partly newbie

2015-06-29 Thread Marc Lehmann
libev documentation. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.d

Re: Questions - partly newbie

2015-06-29 Thread Marc Lehmann
ur own wrappers for example. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ __ Marc

Re: Strict aliasing rule strikes back

2015-05-23 Thread Marc Lehmann
ice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\

Re: Some questions about libev

2015-05-22 Thread Marc Lehmann
out synchronisation or locking. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmor

Re: Strict aliasing rule strikes back

2015-05-22 Thread Marc Lehmann
_ as ev_watcher member, both inside libev, and in user code. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ _

Re: ev_periodic like functionality for time intervals

2015-05-22 Thread Marc Lehmann
and can't guarantee to detect timejumps smaller than MAX_BLOCKTIME without a monotonic clock. Most of the glorious logic is in time_update btw. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _

Re: Strict aliasing rule strikes back

2015-05-22 Thread Marc Lehmann
d we really wanted to squeeze out those extra 4 bytes from every watcher. I am not sure I hit the target with my answer, but since this is a complicated and subtle question, if anything is unclear, feel free to shoot more questions, or ask for clarifications. -- The choice of a De

Re: ev_periodic like functionality for time intervals

2015-05-20 Thread Marc Lehmann
o cope with manual reschedule mode. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/

Re: Nanosecond timestamps for ev_stat

2015-05-12 Thread Marc Lehmann
the extra resolution). -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ /

Re: How does array_needsize macro work?

2015-05-06 Thread Marc Lehmann
ch contains a while (via array_nextsize). The if in array_needsize exists merely to decide whether an allocation is needed at all, and MALLOC_ROUND is used to round allocations up to a multiple of this size. -- The choice of a Deliantra, the free code+content MORPG -=

Re: passenger's modification to libeio

2015-04-23 Thread Marc Lehmann
The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ /

Re: ev_prepare watcher awkwardness

2015-04-22 Thread Marc Lehmann
poll. > > So basically, the sequence would be: Yup, exactly. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --

Re: passenger's modification to libeio

2015-04-22 Thread Marc Lehmann
_GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schm

Re: ev_prepare watcher awkwardness

2015-04-20 Thread Marc Lehmann
is just a few ints and a callback. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: ev_prepare watcher awkwardness

2015-04-20 Thread Marc Lehmann
On Mon, Apr 20, 2015 at 02:33:01AM +0200, Thilo Schulz wrote: > On Monday 20 April 2015 00:21:19 Marc Lehmann wrote: > > ev_prepare watchers do queue with other watchers - event handling is the > > same for every watcher type. > > Yes, I noticed that. If I read your code

Re: ev_prepare watcher awkwardness

2015-04-19 Thread Marc Lehmann
pick up on my suggestions or you cannot. I don't feel very > strongly about it. In the end, I will just do the queueing myself. As you wish, nobody is forcing you to use libev to solve your problem. > > As is the case with all your solutions: they are rather complicated,

Re: ev_prepare watcher awkwardness

2015-04-19 Thread Marc Lehmann
, while not stating a single reason why the most naive and simple solution, using a watcher type designed for your problem, wouldn't qualify. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net -

Re: Suggestion for new watcher type: called immediately after execution of current watcher has finished

2015-04-17 Thread Marc Lehmann
_GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: ev_prepare watcher awkwardness

2015-04-17 Thread Marc Lehmann
ay once you stop doing that. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \

Re: ev_timer_start() appears to not wake up loop from epoll_wait()

2015-04-11 Thread Marc Lehmann
de+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev ma

Re: [libev] Is ev_async_send() a seq. cst. barrier?

2015-04-06 Thread Marc Lehmann
-==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: Error while cross-compiling

2015-03-25 Thread Marc Lehmann
---==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: clang c11

2015-03-20 Thread Marc Lehmann
The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: clang c11

2015-03-20 Thread Marc Lehmann
de trying to use it). -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehman

Re: Unexpected periodic invocation of ev_check watcher

2015-03-12 Thread Marc Lehmann
-==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___

Re: Driving a thread pool from libev

2015-02-17 Thread Marc Lehmann
eads are involved). -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==--

Re: Fwd: Driving a thread pool from libev

2015-02-14 Thread Marc Lehmann
of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /

Re: Driving a thread pool from libev

2015-02-14 Thread Marc Lehmann
On Sun, Feb 15, 2015 at 01:26:09AM +0100, Marc Lehmann wrote: > register an ev_check watcher that checks your async flag (you likely want ev_prepare, even. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ h

Re: Driving a thread pool from libev

2015-02-14 Thread Marc Lehmann
t programming. Otherwise, proposing wild models that are completely unrealistic is not an opportunity to improve anything but yourself. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ gene

Re: Driving a thread pool from libev

2015-02-14 Thread Marc Lehmann
ent" might actually be faster - you really need to try it out to see what is more efficient. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(

Re: Incorrect C11 / cannot build with clang 3.6

2015-02-04 Thread Marc Lehmann
the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\

Re: while(true) { ev_run(loop, EVRUN_NOWAIT); } much faster than ev_run(loop);

2015-01-21 Thread Marc Lehmann
==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: while(true) { ev_run(loop, EVRUN_NOWAIT); } much faster than ev_run(loop);

2015-01-20 Thread Marc Lehmann
http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: failures with "libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w)

2014-12-17 Thread Marc Lehmann
==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: failures with "libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w)

2014-12-17 Thread Marc Lehmann
On Mon, Dec 15, 2014 at 08:28:25AM +0100, Zsbán Ambrus wrote: > On 12/15/14, Marc Lehmann wrote: > > You could try to run with a libev compiled with -DEV_FREQUENT_VERIFY=3, > > which will make very frequent (and slow) checks, in the hope of catching > > this bug earl

Re: failures with "libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w)

2014-12-14 Thread Marc Lehmann
t ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: [PATCH] configure.ac: fix syntax error in ./configure

2014-12-11 Thread Marc Lehmann
-==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: EV_CHILD_ENABLE/EV_SIGNAL_ENABLE

2014-12-02 Thread Marc Lehmann
http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: Threaded Example clarification

2014-11-16 Thread Marc Lehmann
What you should do is state what you are trying to achieve, and where you are blocked. Greetings, -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---=

Re: Bug in C++ wrapper

2014-09-09 Thread Marc Lehmann
/www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.

Re: Bug in C++ wrapper

2014-09-09 Thread Marc Lehmann
On Tue, Sep 09, 2014 at 02:51:40PM +0200, Marc Lehmann wrote: > On Tue, Sep 09, 2014 at 02:43:31PM +0200, Marc Lehmann > wrote: > > that would be of great help, because we can't seem to find any compiler > > which doesn't accept it as an extension (tries with msvc

Re: Bug in C++ wrapper

2014-09-09 Thread Marc Lehmann
On Tue, Sep 09, 2014 at 02:43:31PM +0200, Marc Lehmann wrote: > that would be of great help, because we can't seem to find any compiler > which doesn't accept it as an extension (tries with msvc, gcc and clang). Found one, apples proprietary clang fork seems to error out, the

Re: Bug in C++ wrapper

2014-09-09 Thread Marc Lehmann
On Tue, Sep 09, 2014 at 02:26:19PM +0200, Marc Lehmann wrote: > > ev.h since modified in 4.15 is currently invalid when used from C++: it > > includes exception information (throw()) for the typedef > > ev_loop_callback_nothrow, which is not legal in C++. > > Indeed,

Re: Bug in C++ wrapper

2014-09-09 Thread Marc Lehmann
which compiler did you use that tripped over this (if any)? -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ _

general thoughts on libeio cancellation

2014-09-07 Thread Marc Lehmann
On Fri, Aug 29, 2014 at 01:57:03PM +0200, Marc Lehmann wrote: > On Fri, Aug 29, 2014 at 01:49:46PM +0200, Hongli Lai > wrote: > > I know that libeio does not own the fd. But that was not my point. My point > > is: after libeio has created an fd with open(), > > Wel

libev-4.18 has just been released

2014-09-05 Thread Marc Lehmann
_ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: Patch: fix libeio cancellation

2014-08-29 Thread Marc Lehmann
ed (it will not change if the request was skipped). -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ /

Re: Patch: fix libeio cancellation

2014-08-29 Thread Marc Lehmann
_GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: Patch: fix libeio cancellation

2014-08-27 Thread Marc Lehmann
, your example doesn't show why you need to free things from two places: I can only point at IO::AIO, which doesn't need that and uses the same API as is available to you. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Re: Timers expire prior to expiry time

2014-08-21 Thread Marc Lehmann
The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann

Re: Patch: fix libeio cancellation

2014-08-18 Thread Marc Lehmann
will be freed when the request is destroyed. I would say doing it in the completion callback involves more bookkeeping. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generatio

Re: Patch: fix libeio cancellation

2014-08-17 Thread Marc Lehmann
is no way to see if a result was partial or not. -- The choice of a Deliantra, the free code+content MORPG -==- _GNU_ http://www.deliantra.net ==-- _ generation ---==---(_)__ __ __ Marc Lehmann --==

Re: Can I use ev_async in multiprocess context?

2014-07-27 Thread Marc Lehmann
generation ---==---(_)__ __ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=/_/_//_/\_,_/ /_/\_\ ___ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

<    1   2   3   4   5   6   7   8   9   10   >