CMA Threads for Sun3/4 ported ??

CMA Threads for Sun3/4 ported ??

Post by Michael Joost » Fri, 21 Jun 1991 18:22:07

We would like to use the CMA Threads from the DCE-Snapshot 3 for our
OODB server development. But the Snapshot only provides the machine-dependent
files for VAX, MIPS and Risc/6000, though the code in cma_config.h mentions
Sun, too. Has anybody done a port of the OSF-CMA to Sun hardware, and could
you give us some hints? Otherwise I must dig out my old 'hacker knowledge'
(yes, I learned programming on 6502 kit, very KIM-like), but since the porting
docs (3 Pages, haha) are not very detailed, I am not very optimistic (and I
cannot spend more than a few weeks part-time on it).

Yes, I have some understanding in the SPARC architecture, and read the summary

9, Issue 238, message 1), but here I need some info about the layout of signal
contexts, when to call the 'magic' FLUSH_WINDOW trap, and so on.

It would be even helpfull to get the mach-dep. files for other

        Hoping for help ( or a guru to come along..)     Michael
| Michael Joosten   |       Tel.  : (+49) (+) 5251-284 120                 |
| CADLAB            |       Fax   : (+49) (+) 5251-284 140                 |

| FRG               |               ...!uunet!unido!cadlab!joost           |



1. CMA threads usage?

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?


Any info or suggestions would be appreciate, thanks.
Michael L. Kornegay,

2. multiple patches

3. Blocked CMA thread

4. X support for Cirrus in X11R6.1G?

5. Blocked CMA thread in HP-UX

6. TCP/IP keep alive timer

7. How to get the 2.7 sun3 port up?

8. Debian: how to setup PPP and dial-up my ISP?

9. Problem with sun3 port

10. Current status of sun3 ports?

11. how to change coax to aui port on sun3/60 ?

12. Threads, threads, threads

13. Threads in linux versus threads in NT and threads in Solaris.