aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/gen_fsm_SUITE.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2010-04-28 20:24:48 +0200
committerRaimo Niskanen <[email protected]>2010-05-24 15:08:41 +0200
commitcb42b3d86e131f6d3ba883055990bb4164e0d6a6 (patch)
tree84f04e25c1355d08ee217ee72b0a5fd0145b7487 /lib/stdlib/test/gen_fsm_SUITE.erl
parent458dcb10f98bffd241a837cbac7c108eb485f706 (diff)
downloadotp-cb42b3d86e131f6d3ba883055990bb4164e0d6a6.tar.gz
otp-cb42b3d86e131f6d3ba883055990bb4164e0d6a6.tar.bz2
otp-cb42b3d86e131f6d3ba883055990bb4164e0d6a6.zip
Fix deadlock in spawn driver on windows
A misbehaving port program that does not read all data written to the port may deadlock the scheduler thread when it calls port_close. The chosen solution was to use the new function CancelIoEx if it exist (Vista) otherwise let the spawn driver wait for a short while (10ms) and then to spawn a thread that will wait for the port program to exit.
Diffstat (limited to 'lib/stdlib/test/gen_fsm_SUITE.erl')
0 files changed, 0 insertions, 0 deletions