The scenario is that the external lib function is reading from remote
server. If the server is unable to respond, then my app (being
synchronous call), gets hung.
Killing the process is "okay" solution, though its not the fault of my
app.
JS has assumed correctly all the things.
I liked the idea of JS. I'll try to follow it.
>>Simply aborting a single thread could leave other threads created by the library, or resources unreclaimed etc.
True, but then its better to kill a thread than aborting the whole flow
of application. Threads can be managed if the dependency is low between
them.
Any further suggestions? Thanks for all the efforts
Regards,
Nayan