[phobos] [D-Programming-Language/phobos] ac84cb: add initOnce
GitHub via phobos
phobos at puremagic.com
Tue Jan 20 01:28:11 PST 2015
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/phobos
Commit: ac84cbeb5502f614757cba8317b7a1e247cc6bd0
https://github.com/D-Programming-Language/phobos/commit/ac84cbeb5502f614757cba8317b7a1e247cc6bd0
Author: Martin Nowak <code at dawg.eu>
Date: 2015-01-05 (Mon, 05 Jan 2015)
Changed paths:
M std/concurrency.d
Log Message:
-----------
add initOnce
- uses double-checked locking (the correct one)
- minimal overhead and simple API
- default mutex is shared among all instances
Commit: dcee2cd9e4a4072f975e586da3425f12d465f932
https://github.com/D-Programming-Language/phobos/commit/dcee2cd9e4a4072f975e586da3425f12d465f932
Author: Martin Nowak <code at dawg.eu>
Date: 2015-01-20 (Tue, 20 Jan 2015)
Changed paths:
M std/concurrency.d
Log Message:
-----------
Merge pull request #2664 from MartinNowak/master
add initOnce
Compare: https://github.com/D-Programming-Language/phobos/compare/13d8fa6195fc...dcee2cd9e4a4
More information about the phobos
mailing list