Re: why using mutex->thread_holding rather than this_ethread()?

2013-04-21 Thread Yunkai Zhang
MUTEX_TRY_LOCK_FOR() will check whether the mutex->thread_holding equal to this_thread() when in debug mode. So, I think passing mutex->thread_holding will help us to do some check for the code. FYI. On Mon, Apr 22, 2013 at 12:14 PM, 安静的风 <77009...@qq.com> wrote: > Hi, > > Thanks in advanced

why using mutex->thread_holding rather than this_ethread()?

2013-04-21 Thread ????????
Hi, Thanks in advanced. May I ask a question here? In a continuation's hanlder, take the code piece below for example, HostDBContinuation::dnsEvent { ... EThread *thread = mutex->thread_holding;// here MUTEX_TRY_LOCK_FOR(lock, action.mutex, thread, action.continuation); ... } Why d

Re: git commit: TS-1820 Eliminate ink_port.h and ink_bool.h as part of the cleanup phase

2013-04-21 Thread Igor Galić
- Original Message - > Updated Branches: > refs/heads/master 351f63fdb -> cd2831bf1 > > > TS-1820 Eliminate ink_port.h and ink_bool.h as part of the cleanup > phase [snip] > Commit: cd2831bf1456f808deb4e4a3e67399f95eb7 > Parents: 351f63f [snip] > http://git-wip-us.apache.org/repos