~mingw-w64/mingw-w64/experimental

« back to all changes in this revision

Viewing changes to winpthreads/tests/exit5.c

  • Committer: ktietz70
  • Date: 2010-12-16 10:07:47 UTC
  • Revision ID: svn-v4:4407c894-4637-0410-b4f5-ada5f102cad1:experimental:3881
Likewise, don't check after termination of native thread for its handle value.

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
 
167
167
      assert(GetExitCodeThread(h[i], (LPDWORD) &result) == TRUE);
168
168
 
169
 
      assert(threadbag[i].self->h != NULL && pthread_kill(threadbag[i].self, 0) == ESRCH);
 
169
      assert(pthread_kill(threadbag[i].self, 0) == ESRCH);
170
170
 
171
171
      fail = (result != 1);
172
172