* CMA threads usage?
@ 1991-01-09 13:49 h
0 siblings, 0 replies; only message in thread
From: h @ 1991-01-09 13:49 UTC (permalink / raw)
I have looked at the CMA threads package as a potential means to
execute multi-threaded software under Unix. I need threads to have
the following semantics: a thread executing a blocking system call
(eg: read(...)) should only block itself and allow other threads to
continue to execute, and preemptive scheduling of threads allowing
the currently executing thread to be preempted if a higher priority
thread becomes ready. CMA threads do not have this functionality.
My questions are:
How are users of CMA threads achieving parallelism in their code
when blocking system calls are neccessary or desirable?
Are alternate libraries providing non-blocking versions of the
system calls used that are compatible with CMA's model of threads?
Do you HAVE to resort to using O_NDELAY and busy wait loops when
to avoid blocking system calls?
Etc?
Any info or suggestions would be appreciate, thanks.
--
----------
Michael L. Kornegay,
kornegay@oiscola.columbia.ncr.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1991-01-09 13:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-01-09 13:49 CMA threads usage? h
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox