[comp.lang.modula3] why not Wr.T <: MUTEX ?

muller@src.dec.com (Eric Muller) (06/22/91)

How come that "Every writer is a monitor" is stated in the description
of the Wr interface [System Programming with M3, p132], but that we
are just told TYPE T <: ROOT and have no access to this monitor
from the Wr interface ? 

Suppose that I have a Wr.T and I want to print the two texts t1 and t2
on it, and be sure that t1 and t2 are one just after the other in the
writer.  I would like to avoid Wr.PutText (wr, t1 & t2) as this can be
expensive.  How I am supposed to do that ?

It is ok to import WrClass and to WrClass.Lock (wr) ?

-- 
Eric.