parallelly execute blocking calls in python -


i need blocking xmlrpc call python script several physical server simultaneously , perform actions based on response each server independently. explain in detail let assume following pseudo code

while true:     response=call_to_server1() #blocking , takes long time     if response==this:         

i want servers simultaneously , independently same script

use threading module.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -