Displaying 3 results from an estimated 3 matches for "dxapian_really_no_debug_log".
2018 Jun 09
1
output debug information of LOGCALL_CTOR/LOGCALL_VOID/...
...appended to, or to the special value ``-`` to indicate that you
would like debugging output to be sent to stderr. Unless XAPIAN_DEBUG_LOG
is set, no debug logging will be performed. Occurrences of %p in
XAPIAN_DEBUG_LOG will be replaced with the current process-id.
> Also, I notice -DXAPIAN_REALLY_NO_DEBUG_LOG is added in xapian-core-1.4.5/Makefile, so I deleted this options, but I can not compile successfully then.
That symbol is to stop debug calls being available when compiling things that use Xapian. It's used in common/debuglog.h, which says:
// In places where we include library code in non-l...
2018 Feb 08
7
How to ensure thread-safety
Hi,
I have read the concurrency webpage from the Xapian documentation:
http://getting-started-with-xapian.readthedocs.io/en/latest/concepts/concurrency.html
But it is still not clear to me how to ensure thread-safety when using
libxapian (C++ API). Usually when doing multi-threading many threads can
read the same variable concurrently without locking provided none of the
threads modifies the
2018 Jun 09
0
output debug information of LOGCALL_CTOR/LOGCALL_VOID/...
...xapian and enable log, using commands as follow
```
cd xapian-core-1.4.5 # xapian source code downloaded
./configure --enable-log=yes --enable-assertions=yes
make
sudo make install
```
But there isn't any debug information when I run xapian-core-1.4.5/examples/simplesearch.cc
Also, I notice -DXAPIAN_REALLY_NO_DEBUG_LOG is added in xapian-core-1.4.5/Makefile, so I deleted this options, but I can not compile successfully then.
How I can output the debug information.