BIND 10 #2236: Add a --enable-debug configure flag
BIND 10 Development
do-not-reply at isc.org
Thu Oct 25 01:35:22 UTC 2012
#2236: Add a --enable-debug configure flag
-------------------------------------+-------------------------------------
Reporter: | Owner: vorner
vorner | Status: reviewing
Type: task | Milestone:
Priority: low | Sprint-20121106
Component: | Resolution:
Unclassified | Sensitive: 0
Keywords: | Sub-Project: DNS
Defect Severity: N/A | Estimated Difficulty: 3
Feature Depending on Ticket: | Total Hours: 0
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by muks):
* owner: muks => vorner
Comment:
Replying to [comment:11 vorner]:
> This `TODO` is left in the code:
> {{{#!c++
> #ifdef ENABLE_DEBUG
> // TODO: Distinguish if debug mode is enabled in compilation.
> }}}
Removed. Another such TODO was also removed.
> Also, do you know the practical difference between
`PTHREAD_MUTEX_NORMAL` and
> `PTHREAD_MUTEX_DEFAULT`? It looks like the `PTHREAD_MUTEX_DEFAULT`
leaves it up
> to the compiler to decide if to use `PTHREAD_MUTEX_NORMAL` or
> `PTHREAD_MUTEX_ERRORCHECK`. If that's your impression too, maybe it
would be
> better to explicitly ask for the `PTHREAD_MUTEX_NORMAL`?
The attr types are described in the pthread_mutexattr_settype() POSIX
documentation. I've updated the code to use `PTHREAD_MUTEX_NORMAL` by
default.
--
Ticket URL: <http://bind10.isc.org/ticket/2236#comment:12>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list