[449] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

Compiling under HPUX 9.03

daemon@ATHENA.MIT.EDU (rgs@ELROND.GANDALF.CS.CMU.EDU)
Thu Oct 3 16:50:41 1996

From: rgs@ELROND.GANDALF.CS.CMU.EDU
To: pthreads mailing list <pthreads@MIT.EDU>
Date: Thu, 3 Oct 96 16:25:08 EDT


I've recently been trying to get pthreads working properly on my HPUX
workstation.  Since I've noted that others on the list seem to have tried
without complete success, I'm passing along the fixes required to get
things working for me:

  * Set the BROKEN_SIGNALS variable.  This let it handle SIGCHLD properly,
    and let test_fork run properly.  (Note -- I also had to change the
    "sigignore" in the handler code to use "signal" instead.)
  * Set _PATH_PTY to "/dev/pty".  This will allow it to find the current
    terminal and avoid accidentally putting it in nonblocking mode.
  * Add pipe to SYSCALL_EXCEPTIONS and provide correct assembly code for
    machdep_sys_pipe.  (I don't trust my own copy, so I'll leave someone
    more competent to provide a correct implementation.)

This fixes all the major problems I've encountered thus far.

                                        -rgs


  

home help back first fref pref prev next nref lref last post