载入中...
搜索中...
未找到
AsyncWork.h 文件参考

Capability for submitting CPU work onto a worker pool. 更多...

#include "common/Export.h"
#include "common/Result.h"
#include <functional>

浏览源代码.

类

class  eve::caps::IAsyncWorkExecutor
 Fire-and-forget CPU job submission used by the resource cache. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::caps
 

详细描述

Capability for submitting CPU work onto a worker pool.

ResourceManager lives in common/ and must not include the thread module. The thread module registers IAsyncWorkExecutor at construction; when the capability is absent (trimmed builds, unit tests), ResourceManager runs request() inline on the calling thread.

在文件 AsyncWork.h 中定义.