Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: cebelenski@highway1.com (Chris Cebelenski)
Subject: Re: Dec Unix 4.0B and threads
Date: 1997/05/02	[thread overview]
Message-ID: <336b2abd.777648759@oitnews.harvard.edu> (raw)
In-Reply-To: 5kb3ip$jqt@shellx.best.com


Dilip, I'm just about to embark upon this journey myself.  My understanding is
that DU3.2 has the v4 rev of the POSIX pthreads, and that DU has the new full
release of the standard (1003.c? can't remember.)  The two are different in
several siginificant ways and you would have to port to use the newer standard
(which i recommend anyway.)  Hope this helps.

Chris




dilip@best.com (Dilip Dasilva) wrote:
>
> Hi,
>
> I am trying to compile a program that uses threads on Dec Unix 4.0B
> that compiled without a problem on Dec Unix 3.2.
>
> It uses posix threads so I have the following include file
>
>   #include <pthread.h>
>
> The problem is that these files are different between 4.0B and 3.2.
> The 4.0B file does not contain the definitions for pthread_startroutine_t
> and pthread__addr_t .  These definitions are included in
> /usr/include/pthread_exc.h. I noticed that there are two pthread.h
> include files - one in /usr/include/pthread.h and the other in 
> /usr/include/dce/pthread.h . On 3.2 one of these files was
> a linked to the other.
>
>  Does anyone know which include files I need to get my program to
>  compile on 4.0B. 
>
> Thanks, Dilip




  parent reply	other threads:[~1997-05-02  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-01  4:00 Dec Unix 4.0B and threads Dilip Dasilva
1997-05-02  4:00 ` Peter Sanger
1997-05-02  4:00 ` Chris Cebelenski [this message]
1997-05-05  4:00 ` Dave Butenhof
1997-05-05  4:00   ` Brian O'Neill
1997-05-06  4:00     ` Peter Sanger
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