Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
2 Rules
Rule 10. Thread APIs (THI)
THI03-J. Always invoke wait() and await() methods inside a loop
Page Information
Title:
THI03-J. Always invoke wait() and await() methods inside a loop
Author:
Dhruv Mohindra
Jul 24, 2008
Last Changed by:
David Svoboda
Aug 06, 2025
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/EzdGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (2)
Page:
THI02-J. Notify all waiting threads rather than a single thread
Page:
LCK09-J. Do not perform operations that can block while holding a lock
SEI CERT C++ Coding Standard (1)
Page:
CON54-CPP. Wrap functions that can spuriously wake up in a loop
Hierarchy
Parent Page
Page:
Rule 10. Thread APIs (THI)
Labels
Global Labels (3)
thi
rule
analyzable
Recent Changes
Time
Editor
Aug 06, 2025 16:46
Jill Britton
View Changes
REM cost reform
Jul 24, 2025 09:45
Jill Britton
View Changes
May 18, 2021 08:50
Michal Rozenau
View Changes
Parasoft Jtest 2021.1
Mar 31, 2021 13:40
Jon O'Donnell
View Changes
Feb 26, 2021 09:30
Michal Rozenau
Parasoft Jtest 2020.2
View Page History
Outgoing Links
External Links (3)
https://docs.oracle.com/javase/8/docs/api/java/util/concurr…
https://rules.sonarsource.com/java/RSPEC-2274
java.sun.com/javase/6/docs/api/java/lang/Object.html
SEI CERT Oracle Coding Standard for Java (12)
Page:
Parasoft
Page:
SonarQube
Page:
Klocwork
Page:
THI02-J. Notify all waiting threads rather than a single thread
Page:
Rule BB. Glossary
Home page:
SEI CERT Oracle Coding Standard for Java
Page:
Rule AA. References
Page:
Rule 10. Thread APIs (THI)
Page:
SonarQube_V
Page:
THI04-J. Ensure that threads performing blocking operations can be terminated
Page:
Klocwork_V
Page:
Parasoft_V
Overview
Content Tools
{"serverDuration": 71, "requestCorrelationId": "e79d1b8b55c38948"}