summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/implement.h b/implement.h
index ca27681..34eb826 100644
--- a/implement.h
+++ b/implement.h
@@ -122,6 +122,8 @@ struct pthread_t_ {
void *parms;
int ptErrno;
int detachState;
+ pthread_mutex_t threadLock; /* Used for serialised access to public thread state */
+ int sched_priority; /* As set, not as currently is */
pthread_mutex_t cancelLock; /* Used for async-cancel safety */
int cancelState;
int cancelType;
@@ -498,6 +500,10 @@ void ptw32_threadReusePush (pthread_t thread);
int ptw32_getprocessors (int * count);
+int ptw32_setthreadpriority (pthread_t thread,
+ int policy,
+ int priority);
+
#if ! defined (__MINGW32__) || defined (__MSVCRT__)
unsigned __stdcall
#else