Below is a test case that demonstrates the spin loop.
> cat soc.m
set s="soc"
open s:::"SOCKET"
use s
write /wait
quit
> mumps -run soc
The above command never returns and htop shows 100% CPU utilization. Since the SOCKET device has no listening or connected sockets, the WRITE /WAIT should have returned immediately.
Draft Release Note
WRITE /WAIT on a SOCKET device with no sockets returns immediately. Previously it would spin loop (i.e. use the CPU at 100%) until the command timed out.
Final Release Note
Description
Below is a test case that demonstrates the spin loop.
The above command never returns and htop shows 100% CPU utilization. Since the SOCKET device has no listening or connected sockets, the WRITE /WAIT should have returned immediately.
Draft Release Note
WRITE /WAIT on a SOCKET device with no sockets returns immediately. Previously it would spin loop (i.e. use the CPU at 100%) until the command timed out.