[dylan-lang/opendylan] 59bac8: [io] Specialize stream-lock on <stream>.

GitHub <[email protected]>
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <54854ca54f205_69df3f880516d2b853435@hookshot-fe4-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: 59bac8202e621a1b6b036b3cfee82c086cb911f5
      https://github.com/dylan-lang/opendylan/commit/59bac8202e621a1b6b036b3cfee82c086cb911f5
  Author: Bruce Mitchener <[email protected]>
  Date:   2014-12-04 (Thu, 04 Dec 2014)

  Changed paths:
    M sources/io/streams/stream.dylan

  Log Message:
  -----------
  [io] Specialize stream-lock on <stream>.

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

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


  Commit: 41fd08ba1c169fa5c51286358be7101b46ee9f31
      https://github.com/dylan-lang/opendylan/commit/41fd08ba1c169fa5c51286358be7101b46ee9f31
  Author: Peter S. Housel <[email protected]>
  Date:   2014-12-07 (Sun, 07 Dec 2014)

  Changed paths:
    M sources/io/streams/stream.dylan

  Log Message:
  -----------
  Merge pull request #839 from waywardmonkeys/stream-lock-specification

[io] Specialize stream-lock on <stream>.


Compare: https://github.com/dylan-lang/opendylan/compare/e579bda90af9...41fd08ba1c16

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.