mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 23:40:44 +01:00
Change OS{Get,Set}ThreadSpecific to use void *.
This commit is contained in:
parent
3336fbaf5d
commit
b4e5bf4106
@ -175,7 +175,7 @@ struct OSThread
|
|||||||
UNKNOWN(0x57c - 0x3a0);
|
UNKNOWN(0x57c - 0x3a0);
|
||||||
|
|
||||||
//! Thread specific values, accessed with OSSetThreadSpecific and OSGetThreadSpecific.
|
//! Thread specific values, accessed with OSSetThreadSpecific and OSGetThreadSpecific.
|
||||||
uint32_t specific[0x10];
|
void *specific[0x10];
|
||||||
|
|
||||||
UNKNOWN(0x5c0 - 0x5bc);
|
UNKNOWN(0x5c0 - 0x5bc);
|
||||||
|
|
||||||
@ -375,7 +375,7 @@ OSGetThreadPriority(OSThread *thread);
|
|||||||
/**
|
/**
|
||||||
* Get a thread's specific value set by OSSetThreadSpecific.
|
* Get a thread's specific value set by OSSetThreadSpecific.
|
||||||
*/
|
*/
|
||||||
uint32_t
|
void *
|
||||||
OSGetThreadSpecific(uint32_t id);
|
OSGetThreadSpecific(uint32_t id);
|
||||||
|
|
||||||
|
|
||||||
@ -498,7 +498,7 @@ OSSetThreadRunQuantum(OSThread *thread,
|
|||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
OSSetThreadSpecific(uint32_t id,
|
OSSetThreadSpecific(uint32_t id,
|
||||||
uint32_t value);
|
void *value);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user