Commit graph

211 commits

Author SHA1 Message Date
dsimcha
d4f9af8a2d Merge branch 'master' of https://github.com/dsimcha/phobos 2011-05-06 08:45:39 -04:00
dsimcha
26712f2c8b Fix subtle race condition in std.parallelism by using heap instead of stack to hold key shared state in parallel foreach and amap implementations. 2011-05-06 08:44:12 -04:00
dsimcha
8ad627b414 Fix subtle race condition in std.parallelism by using heap instead of stack to hold key shared state in parallel foreach and amap implementations. 2011-05-06 00:03:08 -04:00
dsimcha
a15e680a98 Accidentally committed with a bunch of debugging code. 2011-05-01 21:30:39 -04:00
dsimcha
4447850d5f Fix a "benign bug". This one doesn't have any observable symptoms but looks like a bug when reading the code and causes some minor inefficiencies. 2011-05-01 21:26:44 -04:00
dsimcha
504b860683 Small refactorings/fixes/optimizations made in passing while tracking down the Heisenbug. 2011-05-01 12:08:15 -04:00
dsimcha
c6a061815e Change the CPU print statement to stderr to make sure it's not buffered. This will make sure the failures on FreeBSD really are occurring before any new threads are started. 2011-04-27 09:30:23 -04:00
dsimcha
c40e541f08 This might explain the weird segfaults. The old code shouldn't have compiled even though it did. (Compiler bug?) 2011-04-27 08:53:47 -04:00
dsimcha
5cde6a7fc2 Another shot at FreeBSD CPU detection. 2011-04-26 21:12:08 -04:00
dsimcha
0f8763473a Hopefully fix FreeBSD and OSX CPU detection. (I'm flying blind here and relying on the auto tester to catch any mistakes.) 2011-04-26 20:57:09 -04:00
dsimcha
3cf67160b8 Add std.parallelism. 2011-04-26 20:06:25 -04:00