Re: [Wireshark-dev] use tshark as part of one application

2010-03-11 Thread yassine antir
ireshark-dev] use tshark as part of one application > > yassine antir wrote: > > Hi, > > > > i am working in one application where am using tshark. i have two issues > > to fix: > > > > 1) i am using the tshark code on my application so we can say

Re: [Wireshark-dev] use tshark as part of one application

2010-03-11 Thread Jeff Morriss
Eloy Paris wrote: > Hi Jeff, > > On 03/11/2010 05:19 PM, Jeff Morriss wrote: > > [...] > >> libwireshark is NOT thread safe. If you're using multiple threads, >> you'd need one lock to prevent more than one thread from entering >> libwireshark simultaneously. > > Indeed. I personally found tha

Re: [Wireshark-dev] use tshark as part of one application

2010-03-11 Thread Eloy Paris
Hi Jeff, On 03/11/2010 05:19 PM, Jeff Morriss wrote: [...] > libwireshark is NOT thread safe. If you're using multiple threads, > you'd need one lock to prevent more than one thread from entering > libwireshark simultaneously. Indeed. I personally found that out while integrating libwireshark

Re: [Wireshark-dev] use tshark as part of one application

2010-03-11 Thread Jeff Morriss
yassine antir wrote: > Hi, > > i am working in one application where am using tshark. i have two issues > to fix: > > 1) i am using the tshark code on my application so we can say in other > words thark is the listening part of the application > the application is multithreading one where multi

[Wireshark-dev] use tshark as part of one application

2010-03-11 Thread yassine antir
Hi, i am working in one application where am using tshark. i have two issues to fix: 1) i am using the tshark code on my application so we can say in other words thark is the listening part of the application the application is multithreading one where multiple threads share the libwireshark l