Re: [Libevent-users] compile libevent for android

2012-02-07 Thread Lee Fisher
> Is it possible to provide a sample "Android.mk" so that I can build > libevent.so for Android platform. Would it help if you looked at how Orbot (Tor GUI for Android) builds libevent for Android? https://gitweb.torproject.org/orbot.git/blob_plain/master:/BUILD **

[Libevent-users] compile libevent for android

2012-02-07 Thread Andy Huang
Is it possible to provide a sample "Android.mk" so that I can build libevent.so for Android platform. Android NDK (Native Development Kit) requires a make file called "Android.mk". I am using Ubuntu 10.04. Or is there any other way. I saw this thread: http://archives.seul.org/libevent/users/May-201

[Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-07 Thread Nicholas Marriott
Forwarding this message to ML at Nick's request... Hi You may remember a few months ago you fixed a problem with kqueue and EPIPE on pipes - I backported this fix to 1.4 and recently applied it to OpenBSD. However, this is causing problems with Google Chrome. From what we can gather it appears t

Re: [Libevent-users] Asynchronous writes in the event loop model

2012-02-07 Thread Nick Mathewson
On Mon, Feb 6, 2012 at 5:46 PM, William Ahern wrote: > On Mon, Feb 06, 2012 at 01:46:59PM -0800, Adrian Chadd wrote: >> Hi, >> >> the standard trick: >> >> * designate one thread as "signals here" and block signals on all other >> threads; >> * use pipes for sending signals between threads (ie, t

Re: [Libevent-users] Asynchronous writes in the event loop model

2012-02-07 Thread Nick Mathewson
On Mon, Feb 6, 2012 at 4:46 PM, Adrian Chadd wrote: > Hi, > > the standard trick: > > * designate one thread as "signals here" and block signals on all other > threads; Actually, if we're willing to require that the user block signals on non-"signals here" threads themself, we can do a lot bette