[
https://issues.apache.org/jira/browse/TS-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794705#action_12794705
]
John Plevyak commented on TS-94:
--------------------------------
Under linux eventfd
http://www.kernel.org/doc/man-pages/online/pages/man2/eventfd.2.html is
a more efficient solution for this problem. libev has cross-platform support
which falls back to
the pipe solution if a more efficient option is not available. The current
libev patch doesn't implement
that, but it could be made to.
Just an FYI.
> optionaly use pipe/fdevent()/libev ev_async to signal threads waiting on poll
> that new events have been posted to the thread
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: TS-94
> URL: https://issues.apache.org/jira/browse/TS-94
> Project: Traffic Server
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0a
> Reporter: John Plevyak
> Priority: Minor
> Fix For: 2.1.0
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Currently threads waiting for IO which have events posted to them (e.g. newly
> accepted sockets for
> traffic servers using an accept thread) do not get knocked off the poll wait
> to process the new event.
> This can be done with pipe's linux's fdevent and more generally with libev
> ev_async.
> This improvement would optionally enable this functionality.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.