Hola Darin!
22 Aug 97 07:31, Darin Mcbride wrote to Thomas Maeder:
TM>> How do you make it volatile, and how does the compiler complain?
DM> On the marked line (!!!), the compiler complains that it cannot find
DM> a function "queue >::push(char) volatile". The function,
DM> without volatile, exists, though.
STL (specially HP's one) has a lot of problems with multi-threading. SGI's
STL is much better, but it was not designed with multi-threaded concepts in
mind.
Recently there was some posts in comp.c++.std about multi-threaded STL (and
some companion files, including bstring.h)
I have to do some tests with multi-threading issues and STL (probably using
OS/2) so I'll post a message as soon as I finish them.
Moreover, you cannot push chars in a queue >. You should push
deques of chars.
Saludos.
Roger. - rogersm@bbs-ce.uab.es
... Without the letter U, units would be nits.
--- Squish/386 v1.11
---------------
* Origin: Pro-Line BBS - Nuevo Telefono: (93) 442-7950 (2:343/106)
|