TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DARIN MCBRIDE
from: ROGER SEN MONTERO
date: 1997-08-27 01:25:00
subject: volatile objects?

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.