Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 07:47:35 +1200
From:      Joerg Micheel <joerg@cs.waikato.ac.nz>
To:        Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: libpcap and pthreads
Message-ID:  <20010719074735.H94236@cs.waikato.ac.nz>
In-Reply-To: <012001c10f85$08ae6b40$6d36120a@comsys.ntukpi.kiev.ua>; from simon@comsys.ntu-kpi.kiev.ua on Wed, Jul 18, 2001 at 04:27:39PM %2B0400
References:  <012001c10f85$08ae6b40$6d36120a@comsys.ntukpi.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Privjet Andrey,

On Wed, Jul 18, 2001 at 04:27:39PM +0400, Andrey Simonenko wrote:
> Is it possible to use libpcap with pthreads?
> (I want to use just pcap_dispatch() function)

I very much doubt so. It's not possible to use it in any kind of
multithreaded applications, even with select() scenarios. They
implement the Highlander principle - there can be only one (pcap).
Sad.

	Joerg
-- 
Joerg B. Micheel			Email: <joerg@cs.waikato.ac.nz>
WAND and NLANR MOAT			Email: <joerg@nlanr.net>
The University of Waikato, CompScience	Phone: +64 7 8384794
Private Bag 3105			Fax:   +64 7 8585095
Hamilton, New Zealand			Plan:  PMA, TINE and the DAG's

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010719074735.H94236>