7 Commits

Author SHA1 Message Date
wj32 8d8b1b0d19 added Reset method to FastEvent
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2503 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-26 05:11:56 +00:00
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 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 77188e9dd3 made RundownProtection uber-fast
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2391 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-11-30 09:59:20 +00:00
wj32 d284deafb8 * replaced messy half-working code in ProcessWindow for selecting threads with ActionSync
* replaced fast event emulators with FastEvent

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2388 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-11-29 04:03:14 +00:00