mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 09:48:29 +00:00
Implement signal handler tail recursion
GNU Make on Windows now appears to be working reliably. This change also fixes a bug where, after fork the Windows thread handle wasn't reset and that caused undefined behavior using SetThreadContext() with our signals
This commit is contained in:
parent
a657f3e878
commit
cdf556e7d2
15 changed files with 627 additions and 77 deletions
|
@ -598,6 +598,10 @@ imp 'PdhOpenQuery' PdhOpenQueryW pdh 3 # Creates a new query that is
|
|||
# PSAPI.DLL
|
||||
#
|
||||
# Name Actual DLL Arity
|
||||
imp 'EnumProcessModules' EnumProcessModules psapi 4
|
||||
imp 'EnumProcessModulesEx' EnumProcessModulesEx psapi 5
|
||||
imp 'EnumProcesses' EnumProcesses psapi 3
|
||||
imp 'GetModuleBaseName' GetModuleBaseNameW psapi 4
|
||||
imp 'GetProcessImageFileName' GetProcessImageFileNameW psapi 3
|
||||
imp 'GetProcessMemoryInfo' GetProcessMemoryInfo psapi 3
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue