Skip to main content

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


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.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

EasyThreadings-1.0.0-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page