Commit Graph

3 Commits

Author SHA1 Message Date
wj32 0ab2ba4dbe FastResourceLock normal acquire methods now spin for a while before going to sleep
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2400 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 05:57:22 +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