dylan-lang/opendylan — pull request #839 by waywardmonkeys (2014-12-04 10:47:51+00:00)
Title: [io] Specialize stream-lock on <stream>.

Previously, stream-lock was specialized on which is
where the lock is actually defined in the code. However, lock-stream
and unlock-stream are specialized on and the default
implementation calls stream-lock (which isn't available for all
instances).

This also makes the test for this pass in the io-test-suite.