You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/11/10 14:05:14 UTC
[commons-daemon] branch master updated: Clearer logging in
apxJavaWait().
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-daemon.git
The following commit(s) were added to refs/heads/master by this push:
new 361afc3 Clearer logging in apxJavaWait().
361afc3 is described below
commit 361afc3eee27bfb4644a52b7da7f15071ad1b178
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Nov 10 09:05:12 2021 -0500
Clearer logging in apxJavaWait().
---
src/native/windows/src/javajni.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/native/windows/src/javajni.c b/src/native/windows/src/javajni.c
index 708f272..acc64c7 100644
--- a/src/native/windows/src/javajni.c
+++ b/src/native/windows/src/javajni.c
@@ -1154,11 +1154,11 @@ apxJavaWait(APXHANDLE hJava, DWORD dwMilliseconds, BOOL bKill)
if (!lpJava->dwWorkerStatus && lpJava->hWorkerThread)
return WAIT_OBJECT_0;
- apxLogWrite(APXLOG_MARK_DEBUG "WaitForSingleObject 0x%p %d milliseconds (INFINITE=%d)...",
+ apxLogWrite(APXLOG_MARK_DEBUG "apxJavaWait -> WaitForSingleObject (0x%p, %d milliseconds) (%d=INFINITE)...",
lpJava->hWorkerThread, dwMilliseconds, INFINITE);
rv = WaitForSingleObject(lpJava->hWorkerThread, dwMilliseconds);
- apxLogWrite(APXLOG_MARK_DEBUG "WaitForSingleObject 0x%p = %d (WAIT_TIMEOUT=%d)",
- lpJava->hWorkerThread, rv, WAIT_TIMEOUT);
+ apxLogWrite(APXLOG_MARK_DEBUG "apxJavaWait <- WaitForSingleObject (0x%p, %d milliseconds) = %d",
+ lpJava->hWorkerThread, dwMilliseconds, rv);
if (rv == WAIT_TIMEOUT && bKill) {
__apxJavaJniCallback(hJava, WM_CLOSE, 0, 0);
}