Re: On WIN7, write() not returning immediately even on non-blocking sockets

2016-08-15 Thread Pankaj Yadav
On Aug 16, 2016 12:31 AM, "Achim Gratz" wrote: > > Pankaj Yadav writes: > > The code where it gets stuck is > > > > printf("Nonblocking:%d\n",(fcntl(t_qelem->respsock, F_GETFL, 0) & > > O_NONBLOCK))?1:0; > > i = > > write(t_qelem->respsock,&t_qelem->webtoresp[t_qelem->webtorespsent],t_qelem->webt

Re: installing dask python (psutils problem)

2016-08-15 Thread Ken Brown
On 8/15/2016 9:33 PM, Felipe M. Vieira wrote: my primary goal is to install dask (python program). [...] 1) Is there a way to install all other dependencies except for psutil? I went manually with pip --no-deps but then it was taking to long. 2) Is there a way to 'mock' the install of a packag

installing dask python (psutils problem)

2016-08-15 Thread Felipe M. Vieira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear mailing list, my primary goal is to install dask (python program). Upon issuing (after git clone and cd): /tmp/dask [master] » pip3 install -e '.[complete]' Obtaining file:///tmp/dask Running setup.py (path:/tmp/dask/setup.py) egg_info for

[ANNOUNCEMENT] Updated: mingw64-*-gcc-5.4.0-2 (x86/x86_64)

2016-08-15 Thread JonY
I have just updated the mingw-w64 cross compilers Cygwin 32bit and 64bit to mingw64-*-gcc-5.4.0-2. Unlike the Cygwin gcc, this version DOES NOT PRESERVER C++ ABI from gcc4. Please rebuild all your C++ libraries. PLEASE RECOMPILE ALL YOUR C++ CODE FOR ABI COMPATIBILITY The cross compile

Re: On WIN7, write() not returning immediately even on non-blocking sockets

2016-08-15 Thread Achim Gratz
Pankaj Yadav writes: > The code where it gets stuck is > > printf("Nonblocking:%d\n",(fcntl(t_qelem->respsock, F_GETFL, 0) & > O_NONBLOCK))?1:0; > i = > write(t_qelem->respsock,&t_qelem->webtoresp[t_qelem->webtorespsent],t_qelem->webtoresplen-t_qelem->webtorespsent); > printf("written\n"); > > Out

Re: Launch cygwin as non-domain user

2016-08-15 Thread Bob Van
I didn't realize there was a response (on aug 8th to aug 6th) to this since didn't get a mail, but am subscribed to digest now. I have no passwd or group files. When I echo username, it's as I expect... CHI+User(14497)@RVANOVERMEIREN ~/ror $ echo $USERNAME rvanover I've read/scanned through chap

On WIN7, write() not returning immediately even on non-blocking sockets

2016-08-15 Thread Pankaj Yadav
Hi, We have a proxy server type of program which has an infinite loop writing to sockets with write() call. All of the sockets are set to non-blocking mode.It works fine on linux and all windows versions except win7(both 32 and 64 bit).We tested on hundreds of computers. The code where it gets st

Re: /dev/ptmx fails with Azure accounts

2016-08-15 Thread rm...@aboutgolf.com
On Monday, August 15, 2016 12:29, "rm...@aboutgolf.com" said: > > > Hi > > Sorry for the delay in getting back to this. Here is the output I get: > > Unknown+User@Lenovo-PC /cygdrive/c/cygwin64 > $ gcc -W azure-check3.c -l Netapi32 -o azure-check3 > azure-check3.c: In function ‘main’: > az

Re: /dev/ptmx fails with Azure accounts

2016-08-15 Thread rm...@aboutgolf.com
On Friday, August 5, 2016 11:34, "Corinna Vinschen" said: > On Aug 5 12:27, Corinna Vinschen wrote: >> On Aug 4 09:00, Corinna Vinschen wrote: >> > On Aug 3 15:05, rm...@aboutgolf.com wrote: >> > > [...] >> > > Unknown+User@Lenovo-PC /cygdrive/c/cygwin64 >> > > $ ./azure-check2 >> > > Sid

Re: /dev/ptmx fails with Azure accounts

2016-08-15 Thread rm...@aboutgolf.com
On Monday, August 8, 2016 07:58, "Corinna Vinschen" said: > On Aug 8 21:48, Duncan Roe wrote: >> On Mon, Aug 08, 2016 at 09:05:27AM +0200, Corinna Vinschen wrote: >> > On Aug 7 13:27, Duncan Roe wrote: >> > > I've been trying your tests out of interest (no Axure accounts here), and >> they a

Re: chere mintty window position

2016-08-15 Thread Thomas Wolff
Am 13.08.2016 um 05:19 schrieb Brent: Frank Fesevur wrote: 2016-08-12 6:04 GMT+02:00 Brent: Thomas Wolff wrote: How about mintty -w max or -w full instead? Thanks, I am going to try that tomorrow. I'm not use, but I think Thomas meant that as a possible yet to be written command line option.

g++: mutithread support is not full?

2016-08-15 Thread Sergey Ivanov
i've compiled and run example from http://www.cplusplus.com/reference/future/future/ but i didn't see dots from output. Does std::future.wait_for() works correctly under cygwin? Command line is : g++ ex1.cpp -std=c++11. Cygwin=newest -- Kind regards, Sergey Ivanov -- Problem reports: http