Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#225 closed enhancement (fixed)

Add a predicate for port open/closed status (slot 8)

Reported by: sjamaan Owned by: Felix
Priority: not urgent at all Milestone:
Component: core libraries Version: 4.6.0
Keywords: ports, closed, status Cc:
Estimated difficulty:


Currently there's no way to check if a port is open or closed besides from performing an operation on it and checking whether it caused an exception or call ##sys#slot on it directly.

It would be a good idea to add a port-closed? predicate. Here's a patch.

Attachments (1)

port-closed.patch (1009 bytes) - added by sjamaan 9 years ago.
Implementation of port-closed?

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by sjamaan

Implementation of port-closed?

comment:1 Changed 9 years ago by felix

  • Resolution set to fixed
  • Status changed from new to closed

Applied in 6eda778123408d57e78e6e87935dd7c588df724c (experimental).

Thanks, sjaaman.

comment:2 Changed 8 years ago by felix

  • Milestone 4.6.0 deleted

Milestone 4.6.0 deleted

Note: See TracTickets for help on using tickets.