Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
01ffdb69
Commit
01ffdb69
authored
Jul 22, 2016
by
Evelyn
Committed by
GitHub
Jul 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mg_mgr_poll.md
parent
a78f346a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mg_mgr_poll.md
docs/c-api/net.h/mg_mgr_poll.md
+4
-4
No files found.
docs/c-api/net.h/mg_mgr_poll.md
View file @
01ffdb69
...
@@ -6,10 +6,10 @@ signature: |
...
@@ -6,10 +6,10 @@ signature: |
time_t mg_mgr_poll(struct mg_mgr *, int milli);
time_t mg_mgr_poll(struct mg_mgr *, int milli);
---
---
This function performs the actual IO
,
and must be called in a loop
This function performs the actual IO and must be called in a loop
(an event loop).
R
eturns the current timestamp.
(an event loop).
It r
eturns the current timestamp.
`milli`
is the maximum number of milliseconds to sleep.
`milli`
is the maximum number of milliseconds to sleep.
`mg_mgr_poll()`
checks all connection for IO readiness. If at least one
`mg_mgr_poll()`
checks all connection
s
for IO readiness. If at least one
of the connections is IO-ready,
`mg_mgr_poll()`
triggers respective
of the connections is IO-ready,
`mg_mgr_poll()`
triggers
the
respective
event handlers and returns.
event handlers and returns.
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