dmex
66e276b763
Improve phlib API compatibility and utilities
...
This change updates phlib with broader native API compatibility shims, new CRC32/CRC32C tables, and safer utility helpers. It also fixes a number of synchronization, formatting, environment, and process-creation edge cases, adds correlation-vector support, hardens SID conversion and image-resource loading, and cleans up several Windows compatibility fixes across the library.
2026-09-30 00:45:00 +10:00
dmex
a168bb2275
Update sync.c
2026-09-25 05:34:48 +10:00
dmex
a11624cb64
Fix regression introduced by a571c6bc1
...
This commit changed PhfResetEvent semantics based on a development branch with WaitOnAddress-based event redesign. The code is incomplete and was not merged; master only contains the kernel-event `PhfSetEvent` that dereferences on set, and is missing the WaitOnAddress changes and broke the reference accounting.
2026-07-19 08:58:10 +10:00
dmex
d50037d99f
Fix Windows 7 #2983
2026-07-10 18:06:50 +10:00
dmex
ca6af0ea2d
Refactor UI buffering and propsheet behavior
2026-06-27 17:00:05 +10:00
dmex
e111c7f612
Optimize wait-handle allocations with stack buffer
...
Use a stack-allocated buffer for wait packet handles when ObjectCount is small. Falls back to PhAllocateZero for larger counts. Zero-initialize the stack buffer with memset and avoid PhFree when using the stack buffer. This reduces heap allocations and improves performance for common small-object cases.
2026-06-25 08:35:48 +10:00
dmex
03467b2901
Add mapldr.h include
2026-06-15 11:35:57 +10:00
dmex
6ab42a8276
Add PhWaitForManyObjects and IOCP wait-completion packets
2026-06-15 09:37:37 +10:00
dmex
a571c6bc19
Build and bug fixes
2026-06-15 05:33:51 +10:00
dmex
ef03f8131c
Update sync.c
2026-04-04 11:49:06 +11:00
Johnny Shaw
e670151f01
sync disable noisy assert
2025-07-13 13:03:02 -06:00
dmex
3d2a191941
Add Acquire and Release Semantics
2024-12-01 17:41:56 +11:00
dmex
96a46e03d5
Add PhCreateEvent
2024-07-07 15:36:13 +10:00
Johnny Shaw
c6e44b2fea
Update copyright and license ( #1256 )
2022-06-13 20:33:49 -06:00
dmex
d06f6610b0
Fix github file encoding issues
2017-04-27 19:12:40 +10:00
Wen Jia Liu
f387b70c05
Reflow phlib comments to 100 character width
2016-02-05 04:02:29 +11:00
Wen Jia Liu
f754b78c89
Reorganize queued lock types for better readability
2016-02-03 15:27:29 +11:00
Wen Jia Liu
2db873c2e1
Remove PPVOID definition
2015-06-01 06:57:14 +00:00
Wen Jia Liu
1e8c3afebc
Reduce size of PH_INITONCE object
2015-05-31 11:26:36 +00:00
Wen Jia Liu
90e92f2348
converted all annotations to SAL 2.0
2013-11-10 06:25:03 +00:00
Wen Jia Liu
615930620e
patch by xhmikosr
2011-08-25 02:43:45 +00:00
Wen Jia Liu
1cd899c26d
improved event object
2011-06-19 01:50:25 +00:00
Wen Jia Liu
2dab1dac0e
removed pointless volatile usages
2011-03-04 06:34:16 +00:00
Wen Jia Liu
3682660153
added some comments
2010-11-29 10:48:36 +00:00
Wen Jia Liu
bb1185b1e5
fixed compiler warning
2010-09-13 08:44:36 +00:00
Wen Jia Liu
8793831559
some micro-optimizations (including ASSUME_NO_DEFAULT)
2010-09-13 08:36:42 +00:00
Wen Jia Liu
a9c267f40c
small tweak
2010-09-06 09:27:26 +00:00
Wen Jia Liu
21209e584e
fixed PH_EVENT bug
2010-08-15 01:31:12 +00:00
Wen Jia Liu
b2e26fff85
changed synchronization definitions
2010-08-13 08:57:48 +00:00
Wen Jia Liu
10afc19137
improved PhfSetEvent
2010-08-10 08:53:17 +00:00
Wen Jia Liu
230a2526ec
PhfWaitForBarrier now supports serializing threads
2010-08-07 03:06:37 +00:00
Wen Jia Liu
ec64294cc5
fixed PH_BARRIER
2010-08-07 02:50:59 +00:00
Wen Jia Liu
fc995655bf
* added PH_BARRIER
...
* fixed wake event
2010-08-07 01:51:15 +00:00
Wen Jia Liu
d3c1e3cbb1
un-Win32-ization
2010-06-27 02:16:45 +00:00
Wen Jia Liu
47dc9f2084
improved synchronization definitions
2010-06-16 06:50:30 +00:00
Wen Jia Liu
53b9ede465
* cut some code from PhBeginInitOnce
...
* added work queue debugging info
* improved TLM_SETCALLBACK
2010-06-12 00:19:55 +00:00
Wen Jia Liu
ada38fbce6
* improved PhGetLookupPolicyHandle logic
...
* added fast path for PhBeginInitOnce
* updated HACKING.txt
2010-04-09 04:51:29 +00:00
Wen Jia Liu
053cf613e7
added PH_INITONCE
2010-03-13 11:16:22 +00:00