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
e0579b0393
PH1.x: Code Cleanup/Fixes, Initial KPH2 support
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4785 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-10-30 10:35:02 +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
e43aec1c5e
PH1.x: Code Cleanup/Fixes
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4778 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-10-29 08:32:37 +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
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
78f9d68839
decreased BaseObject overhead to only 4 bytes
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2501 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-26 02:34: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
170f6c7a50
* removed usage of ReadOnlyCollection from HistoryManager
...
* added FastResourceLock usage to Extensions.GetHandleInfo
* deleted FastQueue
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2477 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 07:56:21 +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
c68bbb17d0
added progress dialog for creating dumps
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2455 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 10:43:51 +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
wj32
384f22aef1
added another optimization the JIT compiler is too dumb to add in
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2405 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 11:41:13 +00:00
wj32
0dee309562
switched to FastResourceLock in NetworkProvider
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2403 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 09:47:33 +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
916cdfe6ce
added some comments to FastResourceLock
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2401 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 06:05:54 +00:00
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
177638a65e
fixed another critical bug; introduced some optimizations
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2399 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 05:30:29 +00:00
wj32
6336f4b6c8
fixed two typos in FastResourceLock which lead to catastrophic failure
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2398 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 04:07:15 +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
c3a41d5b43
added two properties to RundownProtection
...
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2392 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-11-30 10:15:48 +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
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