mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-26 12:26:18 +00:00
thread: Configure stack and guard on POSIX hosts. (#1664)
This commit is contained in:
parent
920acb8d8b
commit
c019b54fec
3 changed files with 9 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue