| 
								
								
									 Markus Ewald | 66f0ae9b34 | The AffineThreadPool class will now work on Mono as well; fixed naming inconsistency for the EnumHelper class; inverted the counting direction used by the Semaphore class so it is easier to read (most other Semaphores count in the direction it is using now) git-svn-id: file:///srv/devel/repo-conversion/nusu@187 d2e56fa2-650e-0410-a79f-9358c0239efd | 2010-01-20 20:21:23 +00:00 |  | 
				
					
						| 
								
								
									 Markus Ewald | 9669adcab5 | Improved documentation for the AffineThreadPool class git-svn-id: file:///srv/devel/repo-conversion/nusu@180 d2e56fa2-650e-0410-a79f-9358c0239efd | 2009-09-27 10:48:38 +00:00 |  | 
				
					
						| 
								
								
									 Markus Ewald | 3c10f05589 | Re-added the default exception handler which will now re-throw the exception, thereby mimicking the behavior of .NET's ThreadPool; wrote unit test to verify the default exception handler is working git-svn-id: file:///srv/devel/repo-conversion/nusu@179 d2e56fa2-650e-0410-a79f-9358c0239efd | 2009-09-18 21:14:27 +00:00 |  | 
				
					
						| 
								
								
									 Markus Ewald | 273eb9885c | AffineThreadPool.CpuCores is now called AffineThreadPool.Processors because this is the term used throughout the .NET framework for the same concept git-svn-id: file:///srv/devel/repo-conversion/nusu@178 d2e56fa2-650e-0410-a79f-9358c0239efd | 2009-09-18 20:38:55 +00:00 |  | 
				
					
						| 
								
								
									 Markus Ewald | 874fe0a9e4 | Found the synchronization problem in the affine thread pool - the auto reset event was being set twice before even a single thread pool thread made it through the WaitOne() - fixed by using a semaphore; implemented a semaphore that should work in the XBox 360; wrote unit tests for said semaphore; added messages to the affine thread pool's unit tests to make debugging easier git-svn-id: file:///srv/devel/repo-conversion/nusu@177 d2e56fa2-650e-0410-a79f-9358c0239efd | 2009-09-18 20:06:09 +00:00 |  | 
				
					
						| 
								
								
									 Markus Ewald | 09247541f2 | Removed the AssertionDelegate stuff and added an UnhandledException delegate to the ThreadPool - maybe I'll turn this into an event analogous to Application.ThreadException; removed the EmptyQueue method which was a flawed concept anyway (especially the disposing of state objects!); rewrote the unit tests to work with the new and improved AffineThreadPool class - there's one test that fails when run through NCover, indicating some synchronization problem that I have yet to track down! git-svn-id: file:///srv/devel/repo-conversion/nusu@176 d2e56fa2-650e-0410-a79f-9358c0239efd | 2009-09-17 19:50:30 +00:00 |  | 
				
					
						| 
								
								
									 Markus Ewald | 7a7e71d0c3 | Fixed XBox 360 compilation error git-svn-id: file:///srv/devel/repo-conversion/nusu@175 d2e56fa2-650e-0410-a79f-9358c0239efd | 2009-09-16 20:07:36 +00:00 |  | 
				
					
						| 
								
								
									 Markus Ewald | e74955b161 | The AffineThreadPool class now also tries to create CPU-affine threads on the full .NET framework (which uses P/Invoke and tries to lock a managed thread to a system thread, probably needs some work for Mono) git-svn-id: file:///srv/devel/repo-conversion/nusu@174 d2e56fa2-650e-0410-a79f-9358c0239efd | 2009-09-15 21:17:34 +00:00 |  | 
				
					
						| 
								
								
									 Markus Ewald | 05e4aebaac | Replaced the affine thread pool with a less elegant implementation that works on the XBox 360 git-svn-id: file:///srv/devel/repo-conversion/nusu@173 d2e56fa2-650e-0410-a79f-9358c0239efd | 2009-09-15 20:03:19 +00:00 |  | 
				
					
						| 
								
								
									 Markus Ewald | 316e2c379a | Added custom CPU core-affine thread pool implementation (which doesn't work on the XBox 360 because Monitor.Wait() and Monitor.Pulse() are not supported - but the code is so nice I want to capture this state in Subversion :D) git-svn-id: file:///srv/devel/repo-conversion/nusu@172 d2e56fa2-650e-0410-a79f-9358c0239efd | 2009-09-15 19:39:08 +00:00 |  |