equal
deleted
inserted
replaced
557 } |
557 } |
558 INLINE bool IsWrongThread() { |
558 INLINE bool IsWrongThread() { |
559 CriticalSection::Lock lock(threadLock); |
559 CriticalSection::Lock lock(threadLock); |
560 return wrongThread; |
560 return wrongThread; |
561 } |
561 } |
|
562 // returns true if the current thread is "preload" thread |
|
563 bool OnPreloadThread(); |
562 |
564 |
563 private: |
565 private: |
564 // data access lock |
566 // data access lock |
565 CriticalSection threadLock; |
567 CriticalSection threadLock; |
566 |
568 |