FYI: Updates in ThreadWeaver

Mirko Boehm mirko at kde.org
Wed Apr 3 08:09:56 UTC 2013


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

On 04/02/2013 05:05 PM, Sebastian Kügler wrote:
>> - - Examples are currently in the kdelibs tree, at
>> > tier1/threadweaver/examples. I like that they are in the same
>> > repository, but still - is this the right place?
> If not, we have the kdeexamples repository for such things.

Two more questions:

- - I have some code that should only be compiled for debug builds. Which
is the preferred macro to do that? At the moment, I am using the
classical NDEBUG, which probably is not what we are using:

#if not defined NDEBUG
    d->debugExecuteWrapper.wrap(setExecutor(&d->debugExecuteWrapper));
#endif

- - As for tests, I now have four unit tests programs amounting to ~40
tests total. One of them has 28 of the tests. I wonder if I should
simply put all the tests into one unit test binary, or not. Note that
this does not include benchmarks, those are separate. What is the
preferred way?

Cheers,

Mirko.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFb49QACgkQYSSaITCTnKWMggCgvbd7QLpSLZZpp0RmgqEbu4h4
W0IAnimAvQahHgavHTNSSTYYscAAzCUY
=yyMu
-----END PGP SIGNATURE-----


More information about the Kde-frameworks-devel mailing list