Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0ac4b27b
Commit
0ac4b27b
authored
Oct 05, 2007
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move descriptions of ac_(in|out)_buffer_size to the right place
http://bugs.python.org/issue1053
parent
2f2bd3ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
Doc/lib/libasynchat.tex
Doc/lib/libasynchat.tex
+11
-0
Doc/lib/libasyncore.tex
Doc/lib/libasyncore.tex
+0
-11
No files found.
Doc/lib/libasynchat.tex
View file @
0ac4b27b
...
...
@@ -32,6 +32,17 @@ connection requests.
\class
{
async
_
chat
}
object's methods are called by the event-processing
framework with no action on the part of the programmer.
Two class attributes can be modified, to improve performance,
or possibly even to conserve memory.
\begin{datadesc}
{
ac
_
in
_
buffer
_
size
}
The asynchronous input buffer size (default
\code
{
4096
}
).
\end{datadesc}
\begin{datadesc}
{
ac
_
out
_
buffer
_
size
}
The asynchronous output buffer size (default
\code
{
4096
}
).
\end{datadesc}
Unlike
\class
{
asyncore.dispatcher
}
,
\class
{
async
_
chat
}
allows you to define
a first-in-first-out queue (fifo) of
\emph
{
producers
}
. A producer need have
only one method,
\method
{
more()
}
, which should return data to be transmitted
...
...
Doc/lib/libasyncore.tex
View file @
0ac4b27b
...
...
@@ -68,17 +68,6 @@ service) is closed.
from the asynchronous loop.
Otherwise, it can be treated as a normal non-blocking socket object.
Two class attributes can be modified, to improve performance,
or possibly even to conserve memory.
\begin{datadesc}
{
ac
_
in
_
buffer
_
size
}
The asynchronous input buffer size (default
\code
{
4096
}
).
\end{datadesc}
\begin{datadesc}
{
ac
_
out
_
buffer
_
size
}
The asynchronous output buffer size (default
\code
{
4096
}
).
\end{datadesc}
The firing of low-level events at certain times or in certain connection
states tells the asynchronous loop that certain higher-level events have
taken place. For example, if we have asked for a socket to connect to
...
...
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