realizedchore.cpp

来自「C语言库函数的原型,有用的拿去」· C++ 代码 · 共 28 行

CPP
28
字号
// ==++==
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// RealizedChore.cpp
//
// Miscellaneous implementations of things related to realized chores
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

#include "concrtinternal.h"

namespace Concurrency
{
    /// <summary>
    ///     Method that executes the realized chore.  Not inline-able because debugger needs to
    ///     locate executing realized chores by looking for this method's signature in the call
    ///     frame.
    /// </summary>
    __declspec(noinline)
    void RealizedChore::Invoke() 
    { 
        m_pFunction(m_pParameters); 
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?