By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,675 Members | 2,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,675 IT Pros & Developers. It's quick & easy.

pylibpcap and multiple threads

P: n/a
Hi All!

Sorry if this is not the correct forum for this kind of question (I did
not find any pylibpcap related lists).

I am trying to use pylibpcap to capture network traffic from several
ethernet devices at the same time, each nic having a separate thread
assigned to it.

My problem is that when one thread is blocking inside pcap.loop() for
instance, it seems to have acquired the GIL, so that no other threads
can run.

Does anyone know a way to do this with threads, or is the only way to
have separate processes for each NIC?


Örjan Gustavsson

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.