Re: Thread getting stuck\hang

2017-04-29 Thread Iranna Mathapati
Hi Dennis, My requirement is like,i want to send the static and dynamic traffic together.while traffic sending i want to delete some config from device. st and dy both the targets want to be run at the same time. On Fri, Apr 28, 2017 at 6:10 PM, Dennis Lee Bieber wrote: > On Fri, 28 Apr 20

Re: Thread getting stuck\hang

2017-04-28 Thread Iranna Mathapati
Hi Dennis, Two threads(_st and _dy targets) sharing the same user define function at the same time...This is the reason for hang/stuck? in both the thread ,we are calling same user define function (itgen_explorer.startTrafficFlows) and greping the values from return function ,using it in main fu

Re: Thread getting stuck\hang

2017-04-28 Thread Iranna Mathapati
Hi Dennis, Two threads(_st and _dy targets) sharing the same user define function at the same time...This is the reason for hang/stuck? in both the thread ,we are calling same user define function (itgen_explorer.startTrafficFlows) and greping the values from return function ,using it in main fu

Re: Thread getting stuck\hang

2017-04-28 Thread Iranna Mathapati
Thanks Dennis, On Fri, Apr 28, 2017 at 5:06 AM, Dennis Lee Bieber wrote: > On Thu, 27 Apr 2017 22:16:06 +0530, Iranna Mathapati > declaimed the following: > > >Hi Dennis, > > > >all function arguments declare as global and pass it to the function. > > > >All three thread is completed the execut

Re: Thread getting stuck\hang

2017-04-27 Thread Iranna Mathapati
Hi Dennis, all function arguments declare as global and pass it to the function. All three thread is completed the execution part and after completion of execution its stuck/hang the programme. *def validate_traffic_stats_st(FT_item,RT_item,forward_path_list,return_path_list,nat_type_list,pkt_st

Thread getting stuck\hang

2017-04-27 Thread Iranna Mathapati
Hi Team, I have python code that creates thread.Sometimes it works, sometimes it gets stuck once its finish its execution part. still not yet cannot find any difference between when it works or when it gets stuck. Please help. sniffer1 = threading.Thread(target=validate_traffic_stats_dy,args=(F