avoid function hang up

Chinavo

Member
Joined
Jul 16, 2008
Messages
16
Programming Experience
1-3
Hi

Im working with an api (bloomberg api).

When i try to run some functions of it (to get a price for example) the
function sometimes doesnt react anymore, like it is in an endless loop (happens
when the bloomberg system is turned off, coz it needs to be turned on).

My question is: how can i avoid my program to get hanged up??

like that i try to run this function for maybe 10 seconds and after that it wont get any results it kills it and continue in the code..

thx for ur help

chinavo
 
Back
Top