Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SyncClean.hpp « Runtime « Native « src - github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 54d13560a6b47777b4ac2908e35dcea26dd2e083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more 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