[Openmcl-devel] slow read-char

Takehiko Abe keke at gol.com
Thu Jul 13 19:45:11 PDT 2006


Gary Byers wrote:

>READ-CHAR has the same per-transaction locking that WRITE-CHAR has,
>for much the same reasons (reading a character out of the buffer
>updates a couple of pointers/counters for example, and it'd be bad -
>though unlikely - for two threads to access/update a stream's state
>at the same time.

Aha. Thanks. Threads are tough! Maybe I could somehow hold
the lock around a loop. I'll study further.

regards,
T.





More information about the Openmcl-devel mailing list