🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
2 messages
2 total messages Started by A. Chase Turner Thu, 29 Oct 1992 23:59
cthread_suspend, cthread_resume, cthread_terminate: examples wanted
#62
Author: A. Chase Turner
Date: Thu, 29 Oct 1992 23:59
7 lines
808 bytes
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?

Thanks,

Chase@stumpy.cs.orst.edu
Re: cthread_suspend, cthread_resume, cthread_terminate: examples wanted
#85
Author: andrew
Date: Sat, 31 Oct 1992 01:23
17 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads