Changeset 34:e0b13f473508 in rrlib_thread


Ignore:
Timestamp:
03.11.2014 18:14:40 (5 years ago)
Author:
Tobias Föhst <foehst@…>
Branch:
14.08
Children:
36:5131f790f11c, 41:d05449b579fa
Phase:
public
Message:

Fixed typo and demoted message about stopping threads from USER to DEBUG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tThread.cpp

    r32 r34  
    513513bool tThread::StopThreads(bool query_only) 
    514514{ 
    515   volatile static bool stopping_threadz = false; 
    516   if (stopping_threadz || query_only)   // We don't do this twice 
    517   { 
    518     return stopping_threadz; 
    519   } 
    520 #ifndef RRLIB_SINGLE_THREADED 
    521   stopping_threadz = true; 
     515  volatile static bool stopping_threads = false; 
     516  if (stopping_threads || query_only)   // We don't do this twice 
     517  { 
     518    return stopping_threads; 
     519  } 
     520#ifndef RRLIB_SINGLE_THREADED 
     521  stopping_threads = true; 
    522522  const char*(*GetLogDescription)() = GetLogDescriptionStatic; 
    523   RRLIB_LOG_PRINT(USER, "Stopping all threads"); 
     523  RRLIB_LOG_PRINT(DEBUG, "Stopping all threads"); 
    524524 
    525525  tLock lock(internal::GetThreadList()->obj_mutex); 
Note: See TracChangeset for help on using the changeset viewer.