Re: [WinPcap-users] blocking read

2004-10-26 Thread Loris Degioanni
Use WaitForMultipleObjects(), feeding it with both the events.
Loris
- Original Message - 
From: Raymond Mercier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 25, 2004 8:57 AM
Subject: [WinPcap-users] blocking read


Hi all,
I am writing some code in Windows environment
I have a thread blocked by an event. This event is released when calling 
the
StopThread() method.

I would like to know if it is possible to be unlocked too by an other 
event
if a packet to read is available in winpcap.

Thank you for help
Raymond Mercier


==
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use 
mailto: [EMAIL PROTECTED]
==


[WinPcap-users] blocking read

2004-10-25 Thread Raymond Mercier



Hi 
all,

I am writing some 
code in Windows environment

I have a thread 
blocked by an event. This event is released when callingthe 
StopThread()method.

I would like to know 
if it is possible to be unlocked too by an other event if a packet to read is 
available in winpcap.

Thank you for 
help

Raymond 
Mercier