Skip to content

yang445786754/thread-with-results

Repository files navigation

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)

About

A python3 threading module with results.

Resources

License

Stars

Watchers

Forks

Packages

No packages published