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

2003-12-03 Thread James Yonan
Gisle Vanem 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 i

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

2003-12-03 Thread Gisle Vanem
"James Yonan" said: > Pthreads doesn't work on Windows. Windows has its own threading model and is > incompatible with pthreads. Not so. There is pthread-win32 at http://sources.redhat.com/pthreads-win32/ I've successfully used it in libpcap etc. But OpenVPN uses native Windows calls, so using