Skip to content

Commit

Permalink
Debugging patch for bug 916757 to get some information about the case…
Browse files Browse the repository at this point in the history
… where the failure happens

Landed on a CLOSED TREE
  • Loading branch information
ehsan committed Sep 16, 2013
1 parent df8d737 commit a20bfbc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nsprpub/pr/src/md/windows/w95thred.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

#include "primpl.h"
#include <process.h> /* for _beginthreadex() */
#include <stdio.h>
#include <windows.h>

#if defined(_MSC_VER) && _MSC_VER <= 1200
/*
Expand Down Expand Up @@ -217,6 +219,10 @@ _PR_MD_CLEAN_THREAD(PRThread *thread)

if (thread->md.handle) {
rv = CloseHandle(thread->md.handle);
if (!rv) {
fprintf(stderr, "CloseHandle failed, handle: %x, last error: %x\n",
(void*)thread->md.handle, GetLastError());
}
PR_ASSERT(rv);
thread->md.handle = 0;
}
Expand Down

0 comments on commit a20bfbc

Please sign in to comment.