diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2015-10-01 00:47:24 +0300 |
---|---|---|
committer | Scott Mosier <smosier@microsoft.com> | 2015-10-01 00:47:24 +0300 |
commit | ad0323ab91a7b1469b42ca5457ddd631b94294fe (patch) | |
tree | 88fae57e1ec3aae90288463dc07e58f7aebc1de8 /src/Native/Runtime/SyncClean.hpp | |
parent | 6763d16387778f126ec510c0421783952602f8f7 (diff) |
Initial population of CoreRT Runtime files.
Diffstat (limited to 'src/Native/Runtime/SyncClean.hpp')
-rw-r--r-- | src/Native/Runtime/SyncClean.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Native/Runtime/SyncClean.hpp b/src/Native/Runtime/SyncClean.hpp new file mode 100644 index 000000000..611d61aa5 --- /dev/null +++ b/src/Native/Runtime/SyncClean.hpp @@ -0,0 +1,19 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +#ifndef _SYNCCLEAN_HPP_ +#define _SYNCCLEAN_HPP_ + +// We keep a list of memory blocks to be freed at the end of GC, but before we resume EE. +// To make this work, we need to make sure that these data are accessed in cooperative GC +// mode. + +class SyncClean { +public: + static void Terminate (); + static void CleanUp (); +}; + +#endif |