|
Boost : |
From: John Max Skaller (skaller_at_[hidden])
Date: 2001-06-27 10:50:11
Beman Dawes wrote:
> >
> >Why not use something like
> >
> >namespace thread
> >{
> > class id; // or 'desc', if you like
> >
> > id create(...);
> >
> >// etc
> >};
>
> Yes, that sort of low-level interface is the fallback if we can't work out
> a "spirit of C++" interface.
>
> While I'm really pressing to see if it is possilbe to develop a high level
> interface, I'm not opposed to making the lower level interface public, just
> as the C++ standard supports both <cstdio> and <iostream>.
Why not help the high level interface development along
by building a low level one first? At least then, the thread_manager
object designers would have something specific to wrap.
[Open/Closed principle]
-- 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