BIND 10 trac2198_3, created. 4e199b28f4247ba178c4a066d77c6ff6dbebfd19 [2198] Move get methods into unnamed namespace
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Oct 22 00:02:00 UTC 2012
The branch, trac2198_3 has been created
at 4e199b28f4247ba178c4a066d77c6ff6dbebfd19 (commit)
- Log -----------------------------------------------------------------
commit 4e199b28f4247ba178c4a066d77c6ff6dbebfd19
Author: Mukund Sivaraman <muks at isc.org>
Date: Fri Oct 19 05:44:58 2012 +0530
[2198] Move get methods into unnamed namespace
commit c3a8f64b91fd9f1b7525fa8d46f0db2d6b4a0889
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 22 05:08:45 2012 +0530
[2198] Fix library paths to add lib/util/threads/ too (Mac OS test failure)
commit 73f49fc9d917907e6b8990e137cd8414acb852ce
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Oct 17 00:17:08 2012 +0530
[2198] Avoid static destruction fiasco with InterprocessSyncFile and logger
commit 59d1e7799c13b01d24276dbd6377934d50ca0749
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 22 05:04:54 2012 +0530
[2198] Check for EDEADLK too when using Mutex::tryLock()
commit d7a95438792f96696ced4559ee6bd465ae652f2f
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 22 05:03:19 2012 +0530
[2198] Link -lpthread in libb10-threads target
commit 1bb3279cc1b0c3b156a749cdef80b625371afaa9
Author: Mukund Sivaraman <muks at isc.org>
Date: Tue Oct 16 06:00:19 2012 +0530
[2198] Don't return anything from thread functions
commit 9a85c00b1675644dcdfea3e344ee72a42558d1aa
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 15 10:01:18 2012 +0530
[2198] Update comment
commit 9de48090c09919a7926664e26697dca42693b258
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 15 09:59:22 2012 +0530
[2198] Test the non-blocking variant of Mutex::Locker
commit 11df86c57f35ed344838b787ecc1caf1382805dc
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 22 05:00:34 2012 +0530
[2198] Check pthread_mutex_trylock()'s return value
commit 699a941cab0ce6969a8f93a17e7659b75876b14b
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 15 00:03:13 2012 +0530
[2198] Revert include to local
commit a80cd447a1458b6c2d5d654f31e2e4a1a7d3f66e
Author: Mukund Sivaraman <muks at isc.org>
Date: Sun Oct 14 22:22:35 2012 +0530
[2198] Stop using direct lock methods on Mutex inside InterprocessSyncFile
commit 48bfbccf4e01c6b0b9c8c716b09155f16fabf3ab
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 22 04:58:20 2012 +0530
[2198] Fix include filename
commit 13e9951ecd5877f8942fee9af7065d8c6c20d1ac
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 22 04:57:51 2012 +0530
[2198] Make direct methods on Mutex private
commit f8fb9a002db020b90f423fd82cf5f7f10a050bc7
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 22 04:56:07 2012 +0530
[2198] Add a block argument to Mutex::Locker's constructor
commit 1b638d681316a66b6c1de3ca2937068f81d4f634
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 22 04:53:47 2012 +0530
[2198] Add AlreadyLocked exception to Mutex::Locker
commit 638f92b82b6b3e74e4b7222f238fb9cf2b8a4fe1
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Oct 10 20:11:09 2012 +0530
[2198] Remove dependency on libb10-util in src/lib/util/unittests/
commit 1c5c694f663811e02a40acdaa0ba2b71a38c44fa
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Oct 10 03:05:46 2012 +0530
[2198] First use a mutex for mutual exclusion among threads, then a lock file
commit b09b4308af92511dde35d87a23bf159b2f71848b
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Oct 22 04:50:00 2012 +0530
[2198] Add Mutex::tryLock() and make lock methods public
tryLock() is necessary inside InterprocessSyncFile. It also doesn't
make sense afterwards to make a dynamically constructed Mutex::Locker
that lives after the basic block is exited. So lock() and unlock()
have also been made public.
I've added comments to discourage the use of these methods directly
and use the Mutex::Locker where applicable.
commit 2d014223ce8d34ce0efb19fbd78c5123f4a2cd60
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Oct 10 01:35:38 2012 +0530
[2198] Test that locks work from threads
This test fails now because there's no mutual exclusion among threads
in the implementation.
commit 0a4ef3221c7ea7347a11e02b9e8175598e3eb2ec
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Oct 10 01:34:36 2012 +0530
[2198] Build threads directory first because . depends on it
-----------------------------------------------------------------------
More information about the bind10-changes
mailing list