diff options
author | Toni Solarin-Sodara <toni.edward@outlook.com> | 2017-11-21 21:08:36 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-11-21 21:08:36 +0300 |
commit | 8d0f5ed8c3551a7ecd7ae4e08eb4d1f0c23ca014 (patch) | |
tree | 295052fcde95f51303c2ea489deeebb838999922 /src/Native/Runtime/thread.h | |
parent | ddc0cf98985468ba1433ff9d2bc7cd9d91c4b79e (diff) |
Allow creating static or shared native library (#4718)
* add bootstrapper for native libraries (#1285)
* overwrite main method when building library (#1285)
* add stub for native library startup method (#1285)
* Include nativelib switch for compiler
* suppress checking for entrypoint when -nativelib
* initialize runtime at start of reverse PInvoke, unix dlopen successful (#1285)
* don't run library initializers for Multi module build (#1285)
* update buildscript to build unix static library (#1285)
* update buildscript to build Windows static library (#1285)
* create and use NativeLibraryInitializerRootProvider (#1285)
* use "shared" linker arg on unix to build shared library (#1285)
* use system module to initialize NativeLibraryInitializerRootProvider (#1285)
* initialize runtime just before initializing the thread (#1285)
* move InitializeRuntime call to within TSF_Attached state check (#1285)
* use static struct constructor to set InitializeRuntime pointer (#1285)
* do not include main function in native library build (#1285)
* move runtime initialization check to thread init (#1285)
* use Thread* to determine whether to initialize runtime (#1285)
* handle race conditions when initializing runtime (#1285)
Diffstat (limited to 'src/Native/Runtime/thread.h')
-rw-r--r-- | src/Native/Runtime/thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Native/Runtime/thread.h b/src/Native/Runtime/thread.h index 8ff608932..c4608c219 100644 --- a/src/Native/Runtime/thread.h +++ b/src/Native/Runtime/thread.h @@ -142,6 +142,7 @@ private: void ResetCachedTransitionFrame(); void CrossThreadUnhijack(); void UnhijackWorker(); + void EnsureRuntimeInitialized(); #ifdef _DEBUG bool DebugIsSuspended(); #endif |