jdk/src/windows/native/sun/windows/awt_Toolkit.h
changeset 7256 adb296cc2eae
parent 7004 3f92ea1ffcac
child 7668 d4a77089c587
child 7772 bf119e738928
equal deleted inserted replaced
7255:88d0a8413bb8 7256:adb296cc2eae
   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