From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,704519c131d23e2 X-Google-Attributes: gid1164f8,public From: cebelenski@highway1.com (Chris Cebelenski) Subject: Re: Dec Unix 4.0B and threads Date: 1997/05/02 Message-ID: <336b2abd.777648759@oitnews.harvard.edu>#1/1 X-Deja-AN: 238961859 References: <5kb3ip$jqt@shellx.best.com> Organization: Children's Hospital Reply-To: cebelenski@highway1.com Newsgroups: comp.sys.dec 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 > > 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