splone / splonebox-client

A client for the splonebox
http://splonebox.io
GNU Lesser General Public License v3.0
7 stars 2 forks source link

stop api call #7

Open bontric opened 8 years ago

bontric commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

depends on #23