Re: [tcpdump-workers] [Fwd: Re: Thread Safe Lexer]

2009-07-01 Thread Eloy Paris
Behdad, On Wed, Jul 01, 2009 at 03:04:49PM -0400, Behdad Forghani wrote: > Hello, > > Gianluca asked me to forward this to the mailing list. During > Sharkfest09 he had mentioned that Winpcap cannot is not re-entrant > and thread-safe because Lex uses global variables. As you can see, > one solu

Re: [tcpdump-workers] [Fwd: Re: Thread Safe Lexer]

2009-07-01 Thread Eloy Paris
Hi Gianluca, On Wed, Jul 01, 2009 at 12:54:13PM -0700, Gianluca Varenni wrote: > - Original Message - From: "Guy Harris" > To: > Sent: Wednesday, July 01, 2009 12:47 PM > Subject: Re: [tcpdump-workers] [Fwd: Re: Thread Safe Lexer] > > > > > >On Jul 1, 2009, at 12:04 PM, Behdad Forghan

Re: [tcpdump-workers] [Fwd: Re: Thread Safe Lexer]

2009-07-01 Thread Gianluca Varenni
- Original Message - From: "Guy Harris" To: Sent: Wednesday, July 01, 2009 12:47 PM Subject: Re: [tcpdump-workers] [Fwd: Re: Thread Safe Lexer] On Jul 1, 2009, at 12:04 PM, Behdad Forghani wrote: Gianluca asked me to forward this to the mailing list. During Sharkfest09 he had me

Re: [tcpdump-workers] [Fwd: Re: Thread Safe Lexer]

2009-07-01 Thread Guy Harris
On Jul 1, 2009, at 12:04 PM, Behdad Forghani wrote: Gianluca asked me to forward this to the mailing list. During Sharkfest09 he had mentioned that Winpcap cannot is not re-entrant and thread-safe because Lex uses global variables. As you can see, one solution to this is to use re2c for le

[tcpdump-workers] [Fwd: Re: Thread Safe Lexer]

2009-07-01 Thread Behdad Forghani
Hello, Gianluca asked me to forward this to the mailing list. During Sharkfest09 he had mentioned that Winpcap cannot is not re-entrant and thread-safe because Lex uses global variables. As you can see, one solution to this is to use re2c for lexing and lemon for parsing. The link to re2c is: