dmex
b02427417c
PH1.x: fixed build
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@5614 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2014-02-25 23:14:38 +00:00
dmex
056f4c0914
PH1.x: Code Cleanup/Fixes
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4784 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-10-30 02:47:41 +00:00
dmex
ccfa57bb01
PH1.x: Replaced ConextMenu controls
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4772 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-10-28 20:15:00 +00:00
dmex
1ce07bfadd
PH1.x: more string null fixes, more Marshal.SizeOf caching
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4751 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-10-26 04:27:14 +00:00
dmex
158bbb865f
Reverted some files
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4375 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-07-31 02:11:34 +00:00
dmex
ec5f8b197e
GC notification of native heap allocations, manifest fix, minor other fixes
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4257 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-06-22 09:49:44 +00:00
wj32
95a1343f3a
back-ported new provider system from PH 2.x
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2540 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-30 02:48:37 +00:00
wj32
0b9a5584e1
FairResourceLock: added TryConvertSharedToExclusive
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2500 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-25 08:08:14 +00:00
wj32
76972653c2
added some more stats to Fair and FastResourceLock
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2499 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-25 05:47:28 +00:00
wj32
1deac77a92
updated FairResourceLock comment
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2498 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-25 01:31:23 +00:00
wj32
0ac0b74686
removed Spin methods from FairResourceLock
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2489 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-22 01:10:04 +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
d8bfd20ab6
* added statistics to FairResourceLock and FastResourceLock
...
* fixed nasty bug in FairResourceLock.Wake - _waiterListHead was uninitialized so Wake tried to unblock the list head, thinking it was an exclusive waiter
* fixed bug in FairResourceLock.ReleaseShared - shouldn't wake anyone when not last shared owner
* added RIGOROUS_CHECKS to FairResourceLock
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2487 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-21 23:02:30 +00:00
wj32
7bc82495df
fixed possible race condition when deferring event creation in FairResourceLock
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2486 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-21 09:14:19 +00:00
wj32
3b5e3cb856
FairResourceLock now uses Marshal.AllocHGlobal instead of GCHandle
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2485 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-21 06:22:45 +00:00
wj32
54ab8c699d
added many features to FairResourceLock
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2481 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 23:11:35 +00:00
wj32
ce3009d180
changed HandleTable to use FastResourceLock
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2479 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 09:37:25 +00:00
wj32
2a3be0e448
removed more BS comments
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2472 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 04:16:13 +00:00
wj32
e5f57490cd
* added deferred event creation to FastResourceLock
...
* turned on deferred event creation for Fair and FastResourceLock
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2471 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 03:56:54 +00:00
wj32
4366e2d5d7
removed BS comments
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2415 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-11 10:33:18 +00:00
wj32
d73a1f11a6
added some FairResourceLock stats
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2410 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-10 11:18:27 +00:00
wj32
e1e334ae88
added defer event creation support to FairResourceLock (not enabled by default)
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2409 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-10 10:45:40 +00:00
wj32
f992f9225a
improved FairResourceLock
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2407 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-10 01:33:30 +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