Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: kornegay@oiscola.Columbia.NCR.COM (h)
Subject: CMA threads usage?
Date: 9 Jan 91 13:49:44 GMT	[thread overview]
Message-ID: <331@oiscola.Columbia.NCR.COM> (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


                 reply	other threads:[~1991-01-09 13:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox