greenlet-0.4.10.zip

时间:2019-12-02 04:48:53
【文件属性】:
文件名称:greenlet-0.4.10.zip
文件大小:81KB
文件格式:ZIP
更新时间:2019-12-02 04:48:53
greenlet Greenlet是python的一个C扩展,旨在提供可自行调度的‘微线程’, 即协程。generator实现的协程在yield value时只能将value返回给调用者(caller)。 而在greenlet中,target.switch(value)可以切换到指定的协程(target), 然后yield value。greenlet用switch来表示协程的切换,从一个协程切换到另一个协程需要显式指定。
【文件预览】:
greenlet-0.4.10
----my_build_ext.py(2KB)
----MANIFEST.in(2KB)
----LICENSE.PSF(2KB)
----README.rst(2KB)
----AUTHORS(699B)
----PKG-INFO(4KB)
----greenlet.h(4KB)
----benchmarks()
--------chain.py(1KB)
----make-manylinux(428B)
----make-win-release(1KB)
----doc()
--------make.bat(5KB)
--------greenlet.txt(17KB)
--------conf.py(8KB)
--------index.txt(26B)
--------Makefile(5KB)
----platform()
--------switch_arm32_gcc.h(2KB)
--------switch_ppc_linux.h(3KB)
--------switch_x64_msvc.h(2KB)
--------switch_x86_msvc.h(2KB)
--------switch_ppc_unix.h(3KB)
--------switch_aarch64_gcc.h(2KB)
--------switch_arm32_ios.h(2KB)
--------switch_ppc_aix.h(3KB)
--------switch_ppc64_linux.h(3KB)
--------switch_x64_masm.obj(1KB)
--------switch_sparc_sun_gcc.h(3KB)
--------switch_s390_unix.h(3KB)
--------switch_x32_unix.h(1KB)
--------switch_ppc_macosx.h(3KB)
--------switch_m68k_gcc.h(928B)
--------switch_x64_masm.asm(2KB)
--------switch_amd64_unix.h(3KB)
--------switch_x86_unix.h(3KB)
--------switch_mips_unix.h(1KB)
----.travis.yml(154B)
----tox.ini(991B)
----LICENSE(1KB)
----setup.cfg(26B)
----setup.py(4KB)
----run-tests.py(1KB)
----NEWS(4KB)
----conftest.py(461B)
----greenlet.c(47KB)
----slp_platformselect.h(3KB)
----appveyor()
--------run_with_env.cmd(3KB)
----setup_switch_x64_masm.cmd(161B)
----appveyor.yml(2KB)
----tests()
--------test_generator.py(1KB)
--------_test_extension_cpp.cpp(3KB)
--------test_tracing.py(2KB)
--------test_gc.py(3KB)
--------test_stack_saved.py(450B)
--------test_extension_interface.py(2KB)
--------test_leaks.py(3KB)
--------__init__.py(2KB)
--------test_weakref.py(884B)
--------test_throw.py(3KB)
--------test_generator_nested.py(3KB)
--------test_cpp.py(403B)
--------test_version.py(653B)
--------_test_extension.c(4KB)
--------test_greenlet.py(17KB)
----dev-requirements.txt(17B)

网友评论