diff options
author | wtc%netscape.com <devnull@localhost> | 1999-12-23 00:33:35 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 1999-12-23 00:33:35 +0000 |
commit | 39e4c2a3e6d34e77cace7a629a0061dea62dd2b8 (patch) | |
tree | 43e4f84b309aa7c0664c20e7a31207dc6e48f760 | |
parent | c8b091af5d58b872900124a14f24889b6571fb7e (diff) | |
download | nspr-hg-39e4c2a3e6d34e77cace7a629a0061dea62dd2b8.tar.gz |
Added a little logging to the OpenVMS code. (Contributed by Colin Blake
<colin@theblakes.com>)
-rw-r--r-- | lib/ds/plevent.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/ds/plevent.c b/lib/ds/plevent.c index 482a2339..362b5461 100644 --- a/lib/ds/plevent.c +++ b/lib/ds/plevent.c @@ -637,7 +637,9 @@ _pl_SetupNativeNotifier(PLEventQueue* self) status = LIB$GET_EF(&self->efn); if (!$VMS_STATUS_SUCCESS(status)) return PR_FAILURE; - return PR_SUCCESS; + PR_LOG(event_lm, PR_LOG_DEBUG, + ("$$$ Allocated event flag %d", self->efn)); + return PR_SUCCESS; } #elif defined(XP_UNIX) int err; @@ -708,6 +710,8 @@ _pl_CleanupNativeNotifier(PLEventQueue* self) #if defined(VMS) { unsigned int status; + PR_LOG(event_lm, PR_LOG_DEBUG, + ("$$$ Freeing event flag %d", self->efn)); status = LIB$FREE_EF(&self->efn); } #elif defined(XP_UNIX) @@ -743,8 +747,8 @@ _pl_NativeNotify(PLEventQueue* self) { unsigned int status; PR_LOG(event_lm, PR_LOG_DEBUG, - ("_pl_NativeNotify: self=%p notifyCount=%d efn=%d", - self, self->notifyCount, self->efn)); + ("_pl_NativeNotify: self=%p notifyCount=%d efn=%d", + self, self->notifyCount, self->efn)); self->notifyCount++; status = SYS$SETEF(self->efn); if ($VMS_STATUS_SUCCESS(status)) |