Skip to content

Commit

Permalink
join with threads when exiting -- to no avail
Browse files Browse the repository at this point in the history
exit status is still foobar.
  • Loading branch information
gigablast committed Dec 17, 2015
1 parent c5f21a7 commit a07c840
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Spider.cpp
Expand Up @@ -7576,7 +7576,7 @@ bool SpiderLoop::gotDoledbList2 ( ) {
// note it
if ( (g_corruptCount % 1000) == 0 )
log("spider: got corrupt doledb record. ignoring. "
"pls fix!!!");
"pls fix!!! cn=%i",(int)m_collnum);
g_corruptCount++;
// skip for now....!! what is causing this???
m_list.skipCurrentRecord();
Expand Down
2 changes: 2 additions & 0 deletions Threads.cpp
Expand Up @@ -3353,6 +3353,8 @@ void ThreadQueue::killAllThreads ( ) {
if ( ! e->m_isLaunched ) continue;
log("threads: killling thread id %i",(int)e->m_joinTid);
pthread_kill ( e->m_joinTid , SIGKILL );
log("threads: joining with thread id %i",(int)e->m_joinTid);
pthread_join ( e->m_joinTid , NULL );
}
}

Expand Down

0 comments on commit a07c840

Please sign in to comment.