Displaying 5 results from an estimated 5 matches for "resetevent".
2018 Jan 16
3
Windows TAP driver issues
Thanks for the info, that is very helpful. It does look like that
change got back-ported to master, albeit in a different form.
I'll take a look at how OpenVPN does its windows device I/O.
- todd
2018 Jan 16
0
Windows TAP driver issues
...ery helpful. It does look like that
> change got back-ported to master, albeit in a different form.
Hm, there's indeed some differences between the two versions, even apart
from the fact that one uses a thread and the other the event system. It
seems that in write_packet(), tinc 1.0 does a ResetEvent() if a
WriteFile() succeeded immediately, but 1.1 doesn't. Also, in tinc 1.1,
for reads, ResetEvent() is called right before GetOverlappedResult(),
and that looks very suspicious... with tinc 1.0 it is called right
before ReadFile().
Overlapped IO feels alien to me.
--
Met vriendelijke groet...
2011 Sep 19
1
[windows port] blazer_ser issues, select_read() from serial semantics
...break;
case WAIT_TIMEOUT:
- CancelIo(sh->handle);
- sh->overlapped_armed = 0;
- ResetEvent (sh->io_status.hEvent);
- upsdebugx(4,"w32_serial_read : timeout %d ms ellaps
- errno = EIO;
- return 0;
+...
2009 Apr 22
0
ActiveX error when running an application(VB6 based)
...et KERNEL32.CloseHandle() retval=00000001 ret=70101cc2
0009:Ret PE DLL (proc=0x70101ba1,module=0x70100000
L"RPCRT4.DLL",reason=PROCESS_DETACH,res=0x1) retval=1
0009:Call PE DLL (proc=0x66001ad8,module=0x66000000
L"MSVBVM60.DLL",reason=PROCESS_DETACH,res=0x1)
0009:Call KERNEL32.ResetEvent(00000050) ret=6600dddd
0009:Ret KERNEL32.ResetEvent() retval=00000001 ret=6600dddd
0009:Call KERNEL32.SetEvent(00000050) ret=6600de18
0009:Ret KERNEL32.SetEvent() retval=00000001 ret=6600de18
0009:Call KERNEL32.TlsGetValue(00000006) ret=6600371e
0009:Ret KERNEL32.TlsGetValue() retval=00000000 re...
2009 Apr 22
0
wine-users Digest, Vol 45, Issue 102
...et KERNEL32.CloseHandle() retval=00000001 ret=70101cc2
0009:Ret PE DLL (proc=0x70101ba1,module=0x70100000
L"RPCRT4.DLL",reason=PROCESS_DETACH,res=0x1) retval=1
0009:Call PE DLL (proc=0x66001ad8,module=0x66000000
L"MSVBVM60.DLL",reason=PROCESS_DETACH,res=0x1)
0009:Call KERNEL32.ResetEvent(00000050) ret=6600dddd
0009:Ret KERNEL32.ResetEvent() retval=00000001 ret=6600dddd
0009:Call KERNEL32.SetEvent(00000050) ret=6600de18
0009:Ret KERNEL32.SetEvent() retval=00000001 ret=6600de18
0009:Call KERNEL32.TlsGetValue(00000006) ret=6600371e
0009:Ret KERNEL32.TlsGetValue() retval=00000000 re...