x/sys/windows: Consider exporting kernel32 *LazyDLL #15702
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Currently all libraries needing more procedures load the libraries by hand using either syscall or x/sys/windows. The most common DLL by a large margin used in this fashion appears to be kernel32.dll.
This means that in larger applications there are half-a-dozen libraries loading kernel32.dll. They could use a shared copy since *LazyDLL is safe for concurrent use.
Exporting:
from x/sys/windows would enable sharing this for applications.
x/sys/windows loads a copy of kernel32.dll in any case (modkernel32).
If needed I can write a proposal or a patch.
The text was updated successfully, but these errors were encountered: