Re: [Libevent-users] Strange timeout scheduling in 1.4

2011-08-07 Thread Dongsheng Song
On Mon, Aug 8, 2011 at 06:15, Leonid Evdokimov wrote: > 2.6.24 result is really surprising me. > Maybe you forgot the CPU not the same: $ dmesg | grep GHz [0.056379] CPU0: Intel(R) Xeon(TM) CPU 3.20GHz stepping 04 [0.144076] CPU1: Intel(R) Xeon(TM) CPU 3.20GHz stepping 04 [0.240057]

Re: [Libevent-users] Where to clone libevent 1.4 using git

2011-07-31 Thread Dongsheng Song
Sorry, the default branch is master, which is 2.1-dev. $ git branch -r origin/HEAD -> origin/master origin/gh-pages origin/master origin/patches-1.1 origin/patches-1.2 origin/patches-1.3 origin/patches-1.4 origin/patches-2.0 On Mon, Aug 1, 2011 at 09:51, Dongsheng Song wr

Re: [Libevent-users] Where to clone libevent 1.4 using git

2011-07-31 Thread Dongsheng Song
No, the default branch is 2.0, but you can checkout 1.4 like this: libevent$ git checkout -b 1.4.x origin/patches-1.4 Branch 1.4.x set up to track remote branch patches-1.4 from origin by rebasing. Switched to a new branch '1.4.x' libevent$ git log -3 commit 2d8cf0b720cdd5f9f292f174a10ff74e62a380

Re: [Libevent-users] _EVUTIL_NIL_CONDITION cause VC2010 error C2070

2011-01-01 Thread Dongsheng Song
Of course, it works. Maybe you should add an comment for why use sizeof(!(condition)), in order to avoid improper rollback accidentally. On Sun, Jan 2, 2011 at 10:36, Nick Mathewson wrote: > On Sat, Dec 25, 2010 at 10:21 PM, Dongsheng Song > wrote: >> Hi Jones, >> >> Yo

[Libevent-users] Re: _EVUTIL_NIL_CONDITION cause VC2010 error C2070

2010-12-25 Thread Dongsheng Song
er Version 16.00.30319.01 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. On Sun, Dec 26, 2010 at 11:21, Dongsheng Song wrote: > Hi Jones, > > Your commit b63ab17 caused VC2010 error C2070: > > bufferevent_async.c(409) : error C2070: 'unsigned int': illegal s

[Libevent-users] _EVUTIL_NIL_CONDITION cause VC2010 error C2070

2010-12-25 Thread Dongsheng Song
at calls event_errx on failure. */ #ifdef NDEBUG +#ifdef _MSC_VER +#define EVUTIL_ASSERT(cond) _EVUTIL_NIL_STMT +#else #define EVUTIL_ASSERT(cond) _EVUTIL_NIL_CONDITION(cond) +#endif #define EVUTIL_FAILURE_CHECK(cond) 0 #else #define EVUTIL_ASSERT(

[Libevent-users] Re: Libevent 2.0.10-stable is released

2010-12-25 Thread Dongsheng Song
Hi all, When I test with vc2010, static link passed all regress test, but dll version have may failed: [error FAILED] 127/164 TESTS FAILED. (2 skipped) E:\var\vcs\hg\draft\libevent-2.0.10-stable>scons ... E:\var\vcs\hg\draft\libevent-2.0.10-stable\test>regress main/methods: [forking] CreatePr