[ 
https://issues.apache.org/jira/browse/TS-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588493#comment-13588493
 ] 

John Plevyak commented on TS-1405:
----------------------------------

I am getting some compilation errors with tcc 4.7.2 :

UnixEThread.cc:159:83: error: no matching function for call to 
'ink_atomic_cas(int32_t*, bool, bool)'
UnixEThread.cc:159:83: note: candidate is:
In file included from ../../lib/ts/libts.h:52:0,
                 from P_EventSystem.h:39,
                 from UnixEThread.cc:30:
../../lib/ts/ink_atomic.h:152:1: note: template<class T> bool 
ink_atomic_cas(volatile T*, T, T)
../../lib/ts/ink_atomic.h:152:1: note:   template argument 
deduction/substitution failed:
UnixEThread.cc:159:83: note:   deduced conflicting types for parameter 'T' 
('int' and 'bool')

Also:
UnixEThread.cc: In constructor 'EThread::EThread()':
UnixEThread.cc:58:81: error: 'IOCORE_ReadConfigInteger' was not declared in 
this scope


                
> apply time-wheel scheduler  about event system
> ----------------------------------------------
>
>                 Key: TS-1405
>                 URL: https://issues.apache.org/jira/browse/TS-1405
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.2.0
>            Reporter: Bin Chen
>            Assignee: Bin Chen
>             Fix For: 3.3.1
>
>         Attachments: linux_time_wheel.patch, linux_time_wheel_v2.patch, 
> linux_time_wheel_v3.patch, linux_time_wheel_v4.patch
>
>
> when have more and more event in event system scheduler, it's worse. This is 
> the reason why we use inactivecop to handler keepalive. the new scheduler is 
> time-wheel. It's have better time complexity(O(1))

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to