Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "����" <taozus@kornet.net>
Subject: Re: TRU64/HP-UX  Pthreads/aio_xxx ... differences
Date: Thu, 12 Apr 2001 04:49:16 +0900	[thread overview]
Message-ID: <9b2cab$dr5$1@news2-2.kornet.net> (raw)
In-Reply-To: XYFz6.12160$jL4.3873184@typhoon1.ba-dsg.net

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" <MrSignor@nospam_bellatlantic.net> 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
>
>
>
>
>
>
>




  parent reply	other threads:[~2001-04-11 19:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-07 15:01 TRU64/HP-UX Pthreads/aio_xxx ... differences MrSignor
2001-04-07 20:11 ` Ivan Skytte Jørgensen
2001-04-11 19:49 ` ���� [this message]
2001-04-13 21:33 ` emilvelez
2001-04-16 16:16   ` Robert Lopez
2001-04-17 15:27     ` Bil Lewis
2001-04-17 15:30     ` Bil Lewis
2001-04-17 15:30     ` Bil Lewis
2001-04-17 17:03     ` Aaron Sawyer
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