gecko-dev/mozglue
Aaron Klotz 57df2b6a01 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-20 16:59:28 +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 Backed out 8 changesets (bug 1542830) for gecko decision failure on a CLOSED TREE 2019-09-20 19:49:27 +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-20 16:59:28 +00:00
tests Bug 1542830: Part 1 - Updates to NativeNt.h; r=mhowell 2019-09-20 16:59:28 +00:00
moz.build Backed out 8 changesets (bug 1542830) for gecko decision failure on a CLOSED TREE 2019-09-20 19:49:27 +03:00