From: <ust...@us...> - 2008-12-07 13:59:56
|
Revision: 2939 http://clucene.svn.sourceforge.net/clucene/?rev=2939&view=rev Author: ustramooner Date: 2008-12-07 13:59:46 +0000 (Sun, 07 Dec 2008) Log Message: ----------- removed old debugging fprintf's Modified Paths: -------------- branches/lucene2_3_2/src/core/CLucene/util/ThreadLocal.cpp branches/lucene2_3_2/src/test/index/TestReuters.cpp Modified: branches/lucene2_3_2/src/core/CLucene/util/ThreadLocal.cpp =================================================================== --- branches/lucene2_3_2/src/core/CLucene/util/ThreadLocal.cpp 2008-12-06 14:05:10 UTC (rev 2938) +++ branches/lucene2_3_2/src/core/CLucene/util/ThreadLocal.cpp 2008-12-07 13:59:46 UTC (rev 2939) @@ -59,8 +59,7 @@ //the key initialiser function void pthread_threadlocal_make_key() { - printf("pthread_threadlocal_make_key\n"); - (void) pthread_key_create(&pthread_threadlocal_key, &pthread_threadlocal_destructor); + (void) pthread_key_create(&pthread_threadlocal_key, &pthread_threadlocal_destructor); } #endif @@ -184,7 +183,6 @@ if ( threadLocals == NULL ){ threadLocals = _CLNEW ThreadLocals; threadData->put(id,threadLocals); - printf("starting thread %d\n",(int)id); } threadLocals->add(this); } @@ -235,7 +233,6 @@ { _ThreadLocal* tl = this->back(); this->pop_back(); - printf ( "shutting down thread %d, object: %d, we have %d objects\n", ( int ) _LUCENE_CURRTHREADID, tl, this->size() ); tl->setNull(); } Modified: branches/lucene2_3_2/src/test/index/TestReuters.cpp =================================================================== --- branches/lucene2_3_2/src/test/index/TestReuters.cpp 2008-12-06 14:05:10 UTC (rev 2938) +++ branches/lucene2_3_2/src/test/index/TestReuters.cpp 2008-12-07 13:59:46 UTC (rev 2939) @@ -301,14 +301,12 @@ } _LUCENE_THREAD_FUNC(threadedSearcherTest, arg){ IndexSearcher* searcher = (IndexSearcher*)arg; - printf("thread started :-)...\n"); for ( int i=0;i<100;i++ ){ threadSearch(searcher, _T("test") ); threadSearch(searcher, _T("reuters") ); threadSearch(searcher, _T("data") ); } - printf ("done...\n"); _LUCENE_THREAD_FUNC_RETURN(0); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |