Changeset 11:a16a953e493b in rrlib_thread


Ignore:
Timestamp:
13.06.2013 07:03:16 (6 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Message:

Adjusted singleton longevity of tThread's thread-local (== longevity of last thread object) for clean shutdown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tThread.cpp

    r8 r11  
    288288static inline unsigned int GetLongevity(boost::thread_specific_ptr<tThread>*) 
    289289{ 
    290   return 0xFCCCCCCC; // should exit before allocation register 
     290  return 0xFFFFFFFC; // should exist longer than anything using rrlib locks 
    291291} 
    292292 
Note: See TracChangeset for help on using the changeset viewer.