Boost logo

Boost :

Subject: Re: [boost] [xint] Third release is ready, requesting preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-05-01 18:01:20


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/01/2010 02:52 PM, vicente.botet wrote:

>> I'm confused... what is the difference between having two separate
>> libraries and having a compile-time option? The compile-time
>> option leads directly to having two separate compiled versions of
>> the library.
>
> You have misunderstood my concern. I mean to have a library xint and
> a library xint_ts (thread safe), as we have have now signals and
> signals2. This provides two libraries with different features can can
> leave on the same executable.
>
> User that don't need the xint_ts dont have to link with lib thread.
> Of course, xint_ts can use anything xint provides, but not the
> oposit.
>
> Just an idea, that solves a lot of issue taking in account the
> different user expectations.

The thread-safe version would be different from the single-thread
version in only two tiny pieces of code (one for a shared resource, one
that turns off the copy-on-write stuff). Is that enough to really
justify a separate library?
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvcpLAACgkQp9x9jeZ9/wQsiwCdFIcEkpV/gLOBhsE9I+3qynUw
uIUAn1fiN8llN/1/UUR8hbMcx0cgls7u
=xGwO
-----END PGP SIGNATURE-----


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