[Libevent-users] libevent in Windows App Store app

2012-12-17 Thread Haseeb Abdul Qadir
Hi, Has anyone managed to use libevent in a Windows App Store app? From speaking to Microsoft it looks like Windows App Store apps can use a subset of the Win32 apis. WinSock unfortunately is not in the allowed list of Win32 apis. Apps are required to use the new Windows.Networking.Sockets api

Re: [Libevent-users] libevent in Windows App Store app

2012-12-17 Thread Thomas Dial
IIRC, the Windows libevent code uses WinSock, and select() or I/O completion ports for dealing with events.  A cursory grep through the code confirms no references to "Windows.Networking."  Unfortunately, I doubt there would be serious interest in this as that group of APIs is completely non-por

Re: [Libevent-users] multithreading problem

2012-12-17 Thread Björn K .
I tried to simplify my code as much as possible. You can see the simplified code and the error message from gdb below. Every thread has its own event_base. The only access to the event_bases of the threads is from the event_base_loop of the corresponding thread and the bufferevent functions in acce

Re: [Libevent-users] multithreading problem

2012-12-17 Thread Mark Ellzey
On Tue, Dec 18, 2012 at 12:53:11AM +0100, Bj?rn K. wrote: > I tried to simplify my code as much as possible. You can see the > simplified code and the error message from gdb below. > Every thread has its own event_base. The only access to the > event_bases of the threads is from the event_base_loop