From 5f2b90bcea84581ed233dae1b586d1ff2f416525 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 8 Feb 2000 19:10:06 +0000 Subject: [PATCH] removed arg from threadSuspend --- src/libCom/osi/os/vxWorks/osdThread.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libCom/osi/os/vxWorks/osdThread.c b/src/libCom/osi/os/vxWorks/osdThread.c index f92329db7..e3e0e04d9 100644 --- a/src/libCom/osi/os/vxWorks/osdThread.c +++ b/src/libCom/osi/os/vxWorks/osdThread.c @@ -87,12 +87,11 @@ threadId threadCreate(const char *name, return((threadId)tid); } -void threadSuspend(threadId id) +void threadSuspend() { - int tid = (int)id; STATUS status; - status = taskSuspend(tid); + status = taskSuspend(taskIdSelf()); if(status) errlogPrintf("threadSuspend failed\n"); }