Article View: comp.sys.next.programmer
Article #85Re: cthread_suspend, cthread_resume, cthread_terminate: examples wanted
From: andrew
Date: Sat, 31 Oct 1992 01:23
Date: Sat, 31 Oct 1992 01:23
17 lines
1246 bytes
1246 bytes
In article <1cpttmINNo2s@flop.ENGR.ORST.EDU> Chase_Turner@stumpy.cs.orst.edu writes:
>The following three Mach thread functions have no equivalant in cthreads:
> thread_suspend, thread_resume, thread_terminate
>If you have homegrown example of these functions, would you send an email to me?
Chthread_abort or cthread_exit would work for thread_terminate,
depending on how you want to termiate your thread. You could use
cthread_yield and a condition or you could just lock a mutex to
simultate thread_suspend and thread_resume...
andrew
--
andrew@cubetech.com | "We shall not cease from exploration
Andrew Loewenstern | And the end of our exploring
Cube Technologies, Inc. | Will be to arrive where we started
| And know the place for the first time." -T.S. Eliot
Technical Details
Message-ID:
<1992Oct31.012306.7756@cubetech.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!rutgers!psinntp!psinntp!cubetech.com!imladris!andrewReferences:
<1cpttmINNo2s@flop.ENGR.ORST.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rutgers!psinntp!psinntp!cubetech.com!imladris!andrew From: andrew@cubetech.com Newsgroups: comp.sys.next.programmer Subject: Re: cthread_suspend, cthread_resume, cthread_terminate: examples wanted Keywords: cthreads Message-ID: <1992Oct31.012306.7756@cubetech.com> Date: 31 Oct 92 01:23:06 GMT References: <1cpttmINNo2s@flop.ENGR.ORST.EDU> Organization: Cube Technologies, Inc. Lines: 17