mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-23 09:00:50 +01:00
implement sys_cpuset_getaffinity, sys_cpuset_setaffinity, sys_rtprio_thread fix hang on sys_select simplify sys_thr_*_ucontext
18 lines
465 B
C++
18 lines
465 B
C++
#pragma once
|
|
|
|
#include "orbis/thread/Thread.hpp"
|
|
|
|
namespace rx::thread {
|
|
std::size_t getSigAltStackSize();
|
|
void initialize();
|
|
void deinitialize();
|
|
void *setupSignalStack();
|
|
void *setupSignalStack(void *address);
|
|
void setupThisThread();
|
|
|
|
void copyContext(orbis::MContext &dst, const mcontext_t &src);
|
|
void copyContext(orbis::Thread *thread, orbis::UContext &dst,
|
|
const ucontext_t &src);
|
|
void invoke(orbis::Thread *thread);
|
|
} // namespace rx::thread
|