Python thread with results
Project description
thread-with-results
A python3 threading module with results.
You can easily get the thread's response result and return value like this
task = ThreadWithResult(
func,
*args,
**kwds
)
task.start()
task.join()
# now you can get the results
print(task.done, task.timeout, task.error, task.results)
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
Built Distribution
File details
Details for the file thread_with_results-1.0.1.tar.gz
.
File metadata
- Download URL: thread_with_results-1.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945a1b2bf8e017bc99c2b0620454399d991cc155e14c7cf395e57410aa0ffef7 |
|
MD5 | 879a822d97b73d2e5d8829b914c50293 |
|
BLAKE2b-256 | a270c24eddbf5e62ed4f4cf254afbf354d12019bf83fac6ef9d731d0cf0b503d |
File details
Details for the file thread_with_results-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: thread_with_results-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef64a50a2d4719918ab871b7c8e4cc64335077a3380a1984dda32f53343b1a0a |
|
MD5 | 0455471a2d81855a6b9f0f7b3627d576 |
|
BLAKE2b-256 | 05fc0a0e031345aaaa06bbeb7164aa140270df4a3a8310dec5e572434416a7bf |