[fpc-pascal] THandle in code that must compile also with Delphi
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Thu Mar 20 15:20:54 CET 2014
Marco van de Voort wrote:
> IMHO the universal handle (for e.g. IPC related handles and file handles) is
> not a portable concept to begin with.
I think the concept of a handle as an opaque type is universal. What
isn't safe is any assumption of consistent behaviour, e.g. that select()
may be applied to any type of handle or that a program's stdin/stdout
might in practice be implemented by a socket.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list