[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-devel] Re: [Openvpn-users] Pthreads on Windows


  • Subject: [Openvpn-devel] Re: [Openvpn-users] Pthreads on Windows
  • From: "James Yonan" <jim@xxxxxxxxx>
  • Date: Wed, 3 Dec 2003 15:56:35 -0000

Gisle Vanem <gvanem@xxxxxxxxxxxx> said:

> Is using USE_PTHREAD any points for Windows version
> of openvpn? If not, it should perhaps cause an "#error".

Good idea.

> It doesn't compile because of missing 'reads' in 'struct event_wait'.
> 
> OpenVPN 1.5.0 + gcc MingW.

Pthreads doesn't work on Windows.  Windows has its own threading model and is
incompatible with pthreads.

> BTW. My DDK doesn't have ntstrsafe.h. Isn't there a way
> to build the tap w/o that? (normal str*() functions).

Not really advised, as it may create buffer overflow vulnerabilities in the
driver.  The DDKs for Win2k and up should have ntstrsafe.h

James



____________________________________________
Openvpn-devel mailing list
Openvpn-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-devel