gecko-dev/mozglue
Aaron Klotz c27d5345fc Bug 1542830: Part 1 - Updates to NativeNt.h; r=mhowell
This patch adds the following:

* The `AllocatedUnicodeString` class which encapsulates a `UNICODE_STRING` and
  owns its buffer. The buffers are null-terminated so that they may be used as
  C-style strings without modification.
** We do not allow either creation or copying within XUL
* `RtlGetCurrentThreadId` and a test to validate it, so that we may obtain the
  current thread ID directly from the `TEB` when we do not yet have access to
  kernel32.
* An implementation of `SRWLock` that uses Rtl instead of Win32 so that we may
  use them before we have access to Win32 DLLs.
* A memory allocation policy that uses Rtl heap functions so that we may use
  MFBT `Vector` in code that might not yet have access to Win32 heap functions.

Differential Revision: https://phabricator.services.mozilla.com/D43155

--HG--
extra : moz-landing-system : lando
2019-09-23 20:16:51 +00:00
..
android Bug 1555205 - Move db/sqlite3 to third_party/; r=mak 2019-05-29 10:16:29 +00:00
baseprofiler Bug 1582357 - Allow profiler entries up to the size of the buffer - r=gregtatum 2019-09-19 13:40:01 +00:00
build Bug 1576728 - Add crashing dlls from chinese unzipping tools to the blocklist. r=aklotz 2019-09-23 21:19:02 +03:00
linker Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs 2019-07-08 09:27:47 +00:00
misc Bug 1542830: Part 1 - Updates to NativeNt.h; r=mhowell 2019-09-23 20:16:51 +00:00
tests Bug 1542830: Part 1 - Updates to NativeNt.h; r=mhowell 2019-09-23 20:16:51 +00:00
moz.build Backed out 8 changesets (bug 1542830) for causing Nightly bustages. a=backout 2019-09-22 00:01:01 +03:00