python-signalfd:YFC绑定到signalfd

时间:2021-05-01 12:50:21
【文件属性】:
文件名称:python-signalfd:YFC绑定到signalfd
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-01 12:50:21
Python 信号fd docs 测试 包裹 用于signalfd的CFFI绑定。 介面与大致相同 免费软件:BSD许可证 安装 pip install signalfd 用法 import signalfd fd = signalfd . signalfd ( - 1 , [ signal . SIGUSR1 ], signalfd . SFD_CLOEXEC ) try : signalfd . sigprocmask ( signalfd . SIG_BLOCK , [ signal . SIGUSR1 ]) while True : si = signalfd . read_siginfo ( fd ) print ( si . ssi_signo ) finally : os . close ( fd ) 文献资料 https:
【文件预览】:
python-signalfd-master
----MANIFEST.in(360B)
----.travis.yml(1KB)
----README.rst(3KB)
----.coveragerc(135B)
----docs()
--------spelling_wordlist.txt(109B)
--------conf.py(1KB)
--------usage.rst(68B)
--------installation.rst(88B)
--------changelog.rst(30B)
--------authors.rst(28B)
--------reference()
--------requirements.txt(64B)
--------readme.rst(55B)
--------index.rst(305B)
--------contributing.rst(33B)
----AUTHORS.rst(69B)
----CONTRIBUTING.rst(3KB)
----tests()
--------test_sigprocmask.py(1KB)
--------test_signalfd.py(2KB)
----tox.ini(3KB)
----LICENSE(1KB)
----src()
--------signalfd()
----setup.cfg(609B)
----setup.py(2KB)
----.gitignore(528B)
----CHANGELOG.rst(492B)
----.cookiecutterrc(1KB)
----.bumpversion.cfg(171B)

网友评论