EasyThreadings · 一个专为简单线程而设计的模块
Project description
欢迎下载EasyThreadings!
入门:如何在EasyThreads中创建线程?
from EasyThreadings import thread
@thread
def hello_thread():
print('Hello from threading!')
hello_thread()
无需更多代码,每次调用自动启动新线程
高级:如何控制线程?
from EasyThreadings import thread
from EasyThreadings.More import join
@thread(name='thread')
def hello_thread():
print('Hello from threading!')
hello_thread()
join('thread')
利用name支持,轻松控制线程
赶紧下载我们的EasyThreadings吧!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
EasyThreadings-1.0.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for EasyThreadings-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f6cbb4d5e1acf481858a7c60b087f7372065bb8ee657c5163625d5a257cb3ef |
|
MD5 | 2554fb9d8b548631b3b722de1ac8177c |
|
BLAKE2b-256 | 540fd68b0509079221d7fac56010799956682f1e9a60536173b54cc8632ca9ea |