From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,efcc177b886e4791 X-Google-Attributes: gidfcda7,public X-Google-Thread: ffc1e,efcc177b886e4791 X-Google-Attributes: gidffc1e,public X-Google-Thread: fa528,efcc177b886e4791 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-04-11 12:52:41 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!feeder.kornet.net!news1.kornet.net!not-for-mail From: "����" Newsgroups: comp.programming.threads,comp.unix.tru64,comp.sys.hp.hpux Subject: Re: TRU64/HP-UX Pthreads/aio_xxx ... differences Date: Thu, 12 Apr 2001 04:49:16 +0900 Organization: Korea Telecom Message-ID: <9b2cab$dr5$1@news2-2.kornet.net> References: NNTP-Posting-Host: 211.196.64.187 X-Trace: news2-2.kornet.net 987018379 14181 211.196.64.187 (11 Apr 2001 19:46:19 GMT) X-Complaints-To: usenet@news.kornet.net NNTP-Posting-Date: Wed, 11 Apr 2001 19:46:19 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.programming.threads:3617 comp.unix.tru64:2101 comp.sys.hp.hpux:8635 if you wanna use Pthread, it's good. but you'd better not use aio-xxx for socket programming yet. aoi-xxx implementations are almost shit! most of the implementations based on creating a thread for an aio operation. a few of them use thread pool. but it's more horrible because you can only call as many aio-opeations as the number of threads in a pool. most of aio-operations reside on the pool for a long time especially for input-operation. H. Kim "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 > > > > > > >