Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop api call #7

Open
bontric opened this issue Feb 10, 2016 · 2 comments
Open

stop api call #7

bontric opened this issue Feb 10, 2016 · 2 comments

Comments

@bontric
Copy link
Collaborator

bontric commented Feb 10, 2016

Since function calls are executed in seperate threads it should be possible to terminate an executing function by terminating the corresponding thread.

This however needs some more investigation:
http://stackoverflow.com/questions/323972/is-there-any-way-to-kill-a-thread-in-python

@bontric
Copy link
Collaborator Author

bontric commented Feb 10, 2016

https://docs.python.org/2/library/multiprocessing.html#multiprocessing.Process

processes allow terminate()

processes also require implementation of ipc (inter process communication) - Is this the way to go?

@bontric
Copy link
Collaborator Author

bontric commented Apr 14, 2016

depends on #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant