RE: Problems with multi-threading and SNMP walk requests

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0BF292A2@mailserver.metatv-ds.metatv.com>
	Please replace tabs with spaces before sending out python code.

> From: Diego Billi [mailto:[email protected]] 
> Sent: Tuesday, May 05, 2009 2:54 AM

> I want to create a thread which performs an SNMP walk, but 
> the main thread
> blocks on the pending request too.

	Correct.  Python has a global interpreter lock, so when one thread blocks, all threads block.  If you can write your own walk which uses nonblocking I/O, then this script should work as you intend.


	HTH,

Mike

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.