mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-16 08:38:43 +00:00
thread: Configure stack and guard on POSIX hosts. (#1664)
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
|
||||
#include "common/types.h"
|
||||
|
||||
namespace Libraries::Kernel {
|
||||
struct PthreadAttr;
|
||||
} // namespace Libraries::Kernel
|
||||
|
||||
namespace Core {
|
||||
|
||||
class Thread {
|
||||
@@ -15,7 +19,7 @@ public:
|
||||
Thread();
|
||||
~Thread();
|
||||
|
||||
int Create(ThreadFunc func, void* arg);
|
||||
int Create(ThreadFunc func, void* arg, const ::Libraries::Kernel::PthreadAttr* attr);
|
||||
void Exit();
|
||||
|
||||
uintptr_t GetHandle() {
|
||||
|
||||
Reference in New Issue
Block a user