6 Commits

Author SHA1 Message Date
wj32 131e7fd748 Thread.VolatileRead -> Interlocked.CompareExchange(x, 0, 0)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2488 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-22 00:56:28 +00:00
wj32 11e14a8c71 new synchronization object: FairResourceLock - releases waiters in FIFO order
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2406 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-10 01:09:21 +00:00
wj32 9bc410640f fixed comments
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2402 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 08:15:33 +00:00
wj32 4cdc3e5422 * switched to using kernel32.dll instead of System.Threading objects
* made FastEvent 4 bytes smaller
* completed FastResourceLock

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2397 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 03:12:52 +00:00
wj32 90d17e4a89 * fixed FastEvent creating an event for every wait
* fixed FastEvent not disposing unused events
* added another shortcut to FastEvent
* added FastLock
* removed all Thread.BeginCriticalRegion calls

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2396 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-08 01:00:39 +00:00
wj32 7bd28e4357 moved branches, tags, trunk to 1.x branch
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2304 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-25 02:22:46 +00:00