dsimcha
|
b078bdb02a
|
Remove one more synchronized{ lock from std.parallelism and replace with synchronized(TaskPool.classinfo). It looks like there's a bug somewhere in the initialization code and I'm suspicious that synchronized{} blocks that don't explicitly synchronize on a class are somehow buggy.
|
2011-06-15 23:12:12 -04:00 |
|
dsimcha
|
ba114906ea
|
Make std.parallelism unittests compile on 64-bit again.
|
2011-06-08 22:54:35 -04:00 |
|
dsimcha
|
5a3761baac
|
Remove all use of Appender and global anonymous locks from the std.parallelism unittests to see if that's what's causing the sporadic erratic behavior.
|
2011-06-08 22:46:23 -04:00 |
|
dsimcha
|
58656cd76f
|
Fix some unlisted bugs in std.parallelism.
|
2011-06-02 09:24:47 -04:00 |
|
dsimcha
|
91263d7606
|
ILP optimizations should be enabled even in single core case.
|
2011-05-24 23:39:51 -04:00 |
|
dsimcha
|
e7158f71c4
|
...And one more that I forgot.
|
2011-05-23 21:21:20 -04:00 |
|
dsimcha
|
43145ec4f6
|
Fix a few WTFs as suggested by Andrei's code review. No functionality changes.
|
2011-05-23 21:16:12 -04:00 |
|
dsimcha
|
2b202ca812
|
ILP optimizations for reduce.
|
2011-05-22 23:45:23 -04:00 |
|
dsimcha
|
4177f2f636
|
A few hard-won microseconds shaved off the break-even point for amap, reduce and parallel foreach. This commit also adds some stuff to the unittests to make the intermittently failing FreeBSD build hopefully fail more often.
|
2011-05-21 10:48:14 -04:00 |
|
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 |
|