Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.almeida_at_[hidden])
Date: 2005-04-19 14:42:21


David Abrahams wrote:
> "Aaron W. LaFramboise" <aaronrabiddog51_at_[hidden]> writes:
>
>
>>Mathew Robertson wrote:
>>
>>

> I have always thought that concrete implementations of portable
> libraries should supply users a way to get at the OS-specific data so
> they can use platform-specific facilities on them if neccessary.

I agree, just like get method of shared_ptr... you can break invariants
if you want:
delete p->get();
But you were warned to not do so...
That way just creates errors who really want and we still got more
flexibility than the interface can provide as platform-indepedent.

>
> You have to understand, the Boost.Threads specification was designed
> to become a standard, and as such it didn't include anything
> nonportable. That said, there's no reason we shouldn't expose the
> low-level thread IDs and document them in a special section on
> platform specifics.
>

-- 
    Felipe Magno de Almeida
    UIN: 2113442
     email: felipe.almeida at ic unicamp br, felipe.m.almeida at gmail 
com, felipe at synergy com
I am a C, modern C++, MFC, ODBC, Windows Services, MAPI developer
from synergy, and Computer Science student from State
University of Campinas(UNICAMP).
To know more about:
Unicamp: http://www.ic.unicamp.br
Synergy: http://www.synergy.com.br
current work: http://www.mintercept.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk