Skip to content

Commit

Permalink
move footnote to footnotes section
Browse files Browse the repository at this point in the history
  • Loading branch information
kentslaney committed Jun 7, 2024
1 parent 542d19c commit 164be77
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,6 @@ libmc is friendly to gevent. Read ``tests/shabby/gevent_issue.py`` for
details. ``libmc.ThreadedClient`` and ``libmc.ClientPool`` are not compatible.
[#]_

.. [#] In order to use a single executable for multiple greenlet contexts,
gevent has to `copy thread memory
<https://github.com/python-greenlet/greenlet/blob/937f150e07823ee03344aeeb5111c0bb371a831d/src/greenlet/greenlet.cpp#L105>`__
to and from the same stack space. This doesn't affect Python references,
which are handed off through gevent, but makes it impossible for shared
libraries to pass memory addresses across greenlets, which is required for
the worker pool.
**Notice:**

``gevent.monkey.patch_all()`` will override
Expand Down Expand Up @@ -239,6 +231,18 @@ Documentation

https://github.com/douban/libmc/wiki

Footnotes
---------

.. [#] In order to use a single executable for multiple greenlet contexts,
gevent has to `copy thread memory
<https://github.com/python-greenlet/greenlet/blob/937f150e07823ee03344aeeb5111c0bb371a831d/src/greenlet/greenlet.cpp#L105>`__
to and from the same stack space. This doesn't affect Python references,
which are handed off through gevent, but makes it impossible for shared
libraries to pass memory addresses across greenlets, which is required for
the worker pool.
LICENSE
-------

Expand Down

0 comments on commit 164be77

Please sign in to comment.