summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/VypressChat/pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/!NotAdopted/VypressChat/pthread.c')
-rw-r--r--plugins/!NotAdopted/VypressChat/pthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/!NotAdopted/VypressChat/pthread.c b/plugins/!NotAdopted/VypressChat/pthread.c
index 062ec1769b..a2f79da159 100644
--- a/plugins/!NotAdopted/VypressChat/pthread.c
+++ b/plugins/!NotAdopted/VypressChat/pthread.c
@@ -32,13 +32,13 @@ void pthread_r(struct pthread_arg *fa)
{
void (*callercode) (void *) = fa->threadcode;
void *arg = fa->arg;
- CallService(MS_SYSTEM_THREAD_PUSH, 0, 0);
+ Thread_Push(0, 0);
SetEvent(fa->hEvent);
/* __try { */
callercode(arg);
/* } */
/* __finally { */
- CallService(MS_SYSTEM_THREAD_POP, 0, 0);
+ Thread_Pop();
/* } */
}