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
Close
Hashes for thread_with_results-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945a1b2bf8e017bc99c2b0620454399d991cc155e14c7cf395e57410aa0ffef7 |
|
MD5 | 879a822d97b73d2e5d8829b914c50293 |
|
BLAKE2b-256 | a270c24eddbf5e62ed4f4cf254afbf354d12019bf83fac6ef9d731d0cf0b503d |
Close
Hashes for thread_with_results-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef64a50a2d4719918ab871b7c8e4cc64335077a3380a1984dda32f53343b1a0a |
|
MD5 | 0455471a2d81855a6b9f0f7b3627d576 |
|
BLAKE2b-256 | 05fc0a0e031345aaaa06bbeb7164aa140270df4a3a8310dec5e572434416a7bf |