Re: BGI-spec 1.4

Chris Lilley, Computer Graphics Unit (
Tue, 5 Jul 1994 10:40:54 GMT

[original attribution deleted]

>> Restarting is a little tricky for multi-threaded processes; you need
>> to leave any active threads running until they complete, without
>> making their symbols disappear out from under them.

Guido van Rossum:
> Hmm... This sounds very Sun specific (I'd be interesting in doing
> this on SGI's IRIX 5, which has dynamic linking like SunOS but a
> different thread library).

I suppose using Posix threads rather than a proprietary implementation or
several is out of the question? Just in the interests of long term portability.
OSF/1 on our KSR has Posix threads - so, oddly, does the workstation on my desk,
which runs OpenVMS.

> You can't use stdio streams in bi-directional mode, but you could
> fdopen() two files, one for reading and one for writing. For the file
> zapper, simply fflush() the stdio file and to a write() to its
> fileno() -- this is well-defined according to Posix and I'm sure also
> in practice.

Does that count as agreement?

Chris Lilley
| Technical Author, ITTI Computer Graphics and Visualisation Training Project |
| Computer Graphics Unit,        |  Internet:            |
| Manchester Computing Centre,   |     Janet:            |
| Oxford Road,                   |     Voice: +44 61 275 6045                 |
| Manchester, UK.  M13 9PL       |       Fax: +44 61 275 6040                 |
| X400:  /I=c/S=lilley/O=manchester-computing-centre/PRMD=UK.AC/ADMD= /C=GB/  |
|  <A HREF="">my page</A>   |