[perl6/specs] 9209af: $lock.run => $lock.protect

2013-11-07 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs
  Commit: 9209af625ca09296ee280e21ebda79846a9a7fab
  
https://github.com/perl6/specs/commit/9209af625ca09296ee280e21ebda79846a9a7fab
  Author: jnthn 
  Date:   2013-11-06 (Wed, 06 Nov 2013)

  Changed paths:
M S17-concurrency.pod

  Log Message:
  ---
  $lock.run => $lock.protect

The lock doesn't run anything, after all. It was named as such in a
vague attempt at consistency with Promise.run and Thread.run (as in,
"run this under the lock"), but those two are now .start, and having
$lock.start({ ... }) is most certainly wrong-sounding.





[perl6/specs] c45281: Promise.in/Promise.at.

2013-11-07 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs
  Commit: c45281df37e23f06111b201afa0aaf2b833bd4f6
  
https://github.com/perl6/specs/commit/c45281df37e23f06111b201afa0aaf2b833bd4f6
  Author: jnthn 
  Date:   2013-11-06 (Wed, 06 Nov 2013)

  Changed paths:
M S17-concurrency.pod

  Log Message:
  ---
  Promise.in/Promise.at.





[perl6/specs] a04984: Fix indento.

2013-11-07 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs
  Commit: a049841f3218a8300a22b5924b8ea52b43efa02f
  
https://github.com/perl6/specs/commit/a049841f3218a8300a22b5924b8ea52b43efa02f
  Author: jnthn 
  Date:   2013-11-06 (Wed, 06 Nov 2013)

  Changed paths:
M S17-concurrency.pod

  Log Message:
  ---
  Fix indento.





[perl6/specs] a42c74: Re-de-confuse Thread start/run.

2013-11-07 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs
  Commit: a42c74b7a6d90213b87ef7e900fca7d6162b9aa5
  
https://github.com/perl6/specs/commit/a42c74b7a6d90213b87ef7e900fca7d6162b9aa5
  Author: jnthn 
  Date:   2013-11-06 (Wed, 06 Nov 2013)

  Changed paths:
M S17-concurrency.pod

  Log Message:
  ---
  Re-de-confuse Thread start/run.





[perl6/specs] 0d03b5: Some more s/alarm/in/

2013-11-07 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs
  Commit: 0d03b52034c245aa400a0fe403b4438a384c5705
  
https://github.com/perl6/specs/commit/0d03b52034c245aa400a0fe403b4438a384c5705
  Author: Elizabeth Mattijsen 
  Date:   2013-11-06 (Wed, 06 Nov 2013)

  Changed paths:
M S17-concurrency.pod

  Log Message:
  ---
  Some more s/alarm/in/





[perl6/specs] 0b5206: [S17] unspec $*TICK

2013-11-07 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs
  Commit: 0b52065aeee07739a5c26cbc3efb026eda1bf71b
  
https://github.com/perl6/specs/commit/0b52065aeee07739a5c26cbc3efb026eda1bf71b
  Author: Carl Mäsak 
  Date:   2013-11-07 (Thu, 07 Nov 2013)

  Changed paths:
M S17-concurrency.pod

  Log Message:
  ---
  [S17] unspec $*TICK

It's problematic in that it assumes a single global
scheduler. It also seems to punish the many for a
feature only benefiting the few.

There are preferable ways to handle this, perhaps
something like
Supply.interval(:at(now.ceiling), :every(1))





[perl6/specs] 6d0e76: Remore :chop from quoted strings

2013-11-07 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs
  Commit: 6d0e7610c7cb8fd75489dbd67af7bf6a9c83d55f
  
https://github.com/perl6/specs/commit/6d0e7610c7cb8fd75489dbd67af7bf6a9c83d55f
  Author: Elizabeth Mattijsen 
  Date:   2013-11-07 (Thu, 07 Nov 2013)

  Changed paths:
M S02-bits.pod

  Log Message:
  ---
  Remore :chop from quoted strings

Discussed this with jnthn++ at APW 2013: basically, this should be a job of
the optimizer when it sees a .chop.