From: John Max Skaller (skaller_at_[hidden])
Date: 2001-08-07 12:44:23
Beman Dawes wrote:
> I have an app where the main thread opens an ifstream automatic (stack)
> object. There's a static storage mutex protecting it. A pointer to the
> ifstream object gets passed to worker threads. The worker threads read
> input records to be processed from the stream.
> That's totally commonplace code. It has to be conforming;
Ah. OK. That's what I wanted to know: someone really
is sharing stack data between threads.
-- John (Max) Skaller, mailto:skaller_at_[hidden] 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 New generation programming language Felix http://felix.sourceforge.net Literate Programming tool Interscript http://Interscript.sourceforge.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk