Displaying 3 results from an estimated 3 matches for "logcall_ctor".
2018 Jun 09
0
output debug information of LOGCALL_CTOR/LOGCALL_VOID/...
HI,
Many functions in xapian can be traced when they are called using LOGCALL_CTOR/LOGCALL_VOID/... and I want to output the debug information.
So, I first install 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 in...
2018 Jun 09
1
output debug information of LOGCALL_CTOR/LOGCALL_VOID/...
On 9 Jun 2018, at 07:37, 张少华 <xiangqianzsh at 163.com> wrote:
> Many functions in xapian can be traced when they are called using LOGCALL_CTOR/LOGCALL_VOID/... and I want to output the debug information.
In xapian-core/HACKING in the source code there's a section on this. As well as pass --enable-log to configure, you also need to:
* set XAPIAN_DEBUG_LOG to be the path to a file that you would like debugging
output to be appende...
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