MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / ThreadExitMsg

Method ThreadExitMsg

src/task/include/lifecycle_messages.hpp:46–47  ·  view source on GitHub ↗

@name 构造/析构函数 @{

Source from the content-addressed store, hash-verified

44 /// @name 构造/析构函数
45 /// @{
46 ThreadExitMsg(size_t _pid, int _exit_code)
47 : pid(_pid), exit_code(_exit_code) {}
48 ThreadExitMsg() = default;
49 ThreadExitMsg(const ThreadExitMsg&) = default;
50 ThreadExitMsg(ThreadExitMsg&&) = default;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected