Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 35f1f6226aa523305e41f3dee68fbb0ce8fafdf4
      
https://github.com/D-Programming-Language/phobos/commit/35f1f6226aa523305e41f3dee68fbb0ce8fafdf4
  Author: k-hara <[email protected]>
  Date:   2015-08-02 (Sun, 02 Aug 2015)

  Changed paths:
    M std/parallelism.d

  Log Message:
  -----------
  Supplemental fix for issue 14860

`task[] = RTask.init;` has two bugs:

1. `RTask` is a nested struct, so `RTask.init` contains null context pointer.
2. That is a block assignment, so there is a possibility to call
   `RTask.~this()` on garbage objects (stack allocated `buf` is initialized by 
`void`).

Fixed to use `emplaceRef` on each elements.


  Commit: deeab6c867fbed479fe57604a52f25e360f0b410
      
https://github.com/D-Programming-Language/phobos/commit/deeab6c867fbed479fe57604a52f25e360f0b410
  Author: Hara Kenji <[email protected]>
  Date:   2015-08-02 (Sun, 02 Aug 2015)

  Changed paths:
    M std/parallelism.d

  Log Message:
  -----------
  Merge pull request #3522 from 9rnsr/fix14860

Supplemental fix for issue 14860


Compare: 
https://github.com/D-Programming-Language/phobos/compare/89f53cb61948...deeab6c867fb
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to