Summary

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

Metadata

Attachments

Description

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.

Changes and comments

[2010-05-01 15:31:22 UTC] sjamaan attached port-closed.patch (description=Implementation of port-closed?)

[2010-05-02 00:23:17 UTC] felix changed status from new to closed

[2010-05-02 00:23:17 UTC] felix set resolution to fixed

[2010-05-02 00:23:17 UTC] felix wrote:

Applied in 6eda778123408d57e78e6e87935dd7c588df724c (experimental).

Thanks, sjaaman.

[2011-04-04 08:31:00 UTC] felix removed milestone 4.6.0

[2011-04-04 08:31:00 UTC] felix wrote:

Milestone 4.6.0 deleted