From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffc1e,efcc177b886e4791 X-Google-Attributes: gidffc1e,public X-Google-Thread: fcda7,efcc177b886e4791 X-Google-Attributes: gidfcda7,public X-Google-Thread: fa528,efcc177b886e4791 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-04-13 14:34:04 PST Path: supernews.google.com!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "emilvelez" Newsgroups: comp.programming.threads,comp.unix.tru64,comp.sys.hp.hpux Subject: Re: TRU64/HP-UX Pthreads/aio_xxx ... differences Date: Fri, 13 Apr 2001 17:33:01 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: Reply-To: "emilvelez" References: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Complaints-To: newsabuse@supernews.com Xref: supernews.google.com comp.programming.threads:3639 comp.unix.tru64:2123 comp.sys.hp.hpux:8719 You can check the each C library function and see if it is thread safe. I am not sure the state of the functions that you are creating. Take a look at a book called threadtime which covers the Posix libraries and the HP-UX extensions. Good luck "MrSignor" wrote in message news:XYFz6.12160$jL4.3873184@typhoon1.ba-dsg.net... > Greetings, > I have been asked to convert some software that runs under OpenVMS to > UNIX, > HP-UX 11.0 in particular ... the software is a Routing Server, accepts > multiple > inbound TCP connections, makes a limited number of outbound TCP > connections, > and multiplexes inbound data through the outbound connections. > > Because I have access to an Alpha running TRU64 V5.1 I am planning to > do most > of the work using TRU64, and hope that moving the completed work to > HP-UX 11.0 will be trivial ? > > I am planning on using Pthreads, plus the Posix real-time extensions for > asynchronous I/O, ie the aio_xxx routines. However, in their infinite > wisdom (and according to Gallmeister) Posix allows OS's to support some > Posix options but not others, yet call themself Posix real-time > compliant. > > > Questions > ======= > If I stick to regular Pthreads and the aio_xxx routines, does anyone > know > what optional interfaces exist on TRU64, but NOT HP-UX 11.0. ? > > Or any other caveats I should be aware of ? > > TIA > > -Fred > > > > > > >