Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
e4289bb0
Commit
e4289bb0
authored
Jan 12, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add descriptive comment
parent
6109c1d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
waiter.h
bin/varnishd/waiter/waiter.h
+12
-0
No files found.
bin/varnishd/waiter/waiter.h
View file @
e4289bb0
...
...
@@ -26,6 +26,18 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* Waiters are herders of connections: The monitor a large number of
* connections and react if data arrives, the connection is closed or
* if nothing happens for a specified timeout period.
*
* The "poll" waiter should be portable to just about anything, but it
* is not very efficient because it has to setup state on each call to
* poll(2). Almost all kernels have made better facilities for that
* reason, needless to say, each with its own NIH-controlled API:
*
* - kqueue on FreeBSD
* - epoll on Linux
* - ports on Solaris
*/
struct
waited
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment