Revision 229241a2c767c7f741b51f486502ec456c0ab329 authored by Bob Owen on 06 March 2020, 22:10:52 UTC, committed by Bob Owen on 06 March 2020, 22:10:52 UTC
When we are running from a network drive the new feature in part 1 doesn't work.
So this uses DuplicateHandle instead of OpenThread to get the thread handle used
by the profiler.
It also removes a DuplicateHandle THREAD_ALL_ACCESS call that also fails and a
DuplicateHandle to get a real process handle, which only seems to have been to
fix something on Windows XP.
The handle passed in is always the profiler one, so already has the necessary
permissions. If no thread handle is passed then the pseudo handle is used.
1 parent 40f9041
History
File Mode Size
ductwork
examples
ipc
public
rust
src
xpconnect
app.mozbuild -rw-r--r-- 963 bytes
ffi.configure -rw-r--r-- 1.9 KB
moz.build -rw-r--r-- 734 bytes
moz.configure -rw-r--r-- 18.6 KB
sub.configure -rw-r--r-- 7.2 KB

back to top