• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

wait()

4-4.(5) Thread Wait Notify

wait() , notify() 동기화 영역에서 사용해야 의미가 있음 wait()메서드 : 동기화 영역에서 락을 풀고 Wait-Set영역(공유객체별 존재)으로 이동 notify() 또는 notifyAll() 메서드 : Wait-Set영역에 있는 쓰레드를 깨워서 run() : notify()는 하나, notifyAll()은 전부를 깨운다 Object 클래스에서 제공하는 메서드 T19_WaitN...

wait()20200925notify()Thread20200925

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more