diff options
author | Sverker Eriksson <[email protected]> | 2010-11-17 19:40:42 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2010-11-24 11:57:31 +0100 |
commit | c5b7477a8873e6fd80fab598a8e63a5006e46621 (patch) | |
tree | 334f4933f178548233def9444a5b080e50d3bbd4 /erts/emulator/test/port_SUITE_data | |
parent | b48be79573171e530d97cdf078488eb66fc23f30 (diff) | |
download | otp-c5b7477a8873e6fd80fab598a8e63a5006e46621.tar.gz otp-c5b7477a8873e6fd80fab598a8e63a5006e46621.tar.bz2 otp-c5b7477a8873e6fd80fab598a8e63a5006e46621.zip |
Remove use of unreliable CancelIoEx on Windows.
CancelIoEx has been seen to cause problems with some drivers.
Also improve fallback solution to reuse existing handle-closer-threads.
Diffstat (limited to 'erts/emulator/test/port_SUITE_data')
-rw-r--r-- | erts/emulator/test/port_SUITE_data/dead_port.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/test/port_SUITE_data/dead_port.c b/erts/emulator/test/port_SUITE_data/dead_port.c index 6fa77112be..68e96fbf14 100644 --- a/erts/emulator/test/port_SUITE_data/dead_port.c +++ b/erts/emulator/test/port_SUITE_data/dead_port.c @@ -72,14 +72,14 @@ char *argv[]; { int x; if (argc < 2) { - fprintf(stderr,"Usage %s <seconds>\n",argv[0]); + fprintf(stderr,"Usage %s <milliseconds>\n",argv[0]); return 1; } if ((x = atoi(argv[1])) <= 0) { - fprintf(stderr,"Usage %s <seconds>\n",argv[0]); + fprintf(stderr,"Usage %s <milliseconds>\n",argv[0]); return 1; } - delay(x*1000); + delay(x); return 0; } |