📄 10_2_1.htm
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb_2312-80">
<meta name="Author" content="Weng Kai">
<title>Common methods to communication</title>
</head>
<body>
<h3>
10.2.1 通讯的一般方法</h3>
<hr WIDTH="100%">
<br>
To difine a data in sender and the receiver read the data. There
must be a flag to indicate the data is valid or has been read.
<br>Case Study: <a href="case/FlagComm/FlagComm.java">FlagComm.java</a>
<br>
<hr WIDTH="100%">
<br>wait() and notify() of Object
<br>Every object can have a thread pool. A thread can call wait()
to join the pool and call notify() to leave the pool.
<br>Case Study: <a href="case/WaitComm/WaitComm.java">WaitComm.java</a>
<br>
<hr>
<DIV ALIGN=right><A HREF="../Lesson11/11.htm">Next Page</A></DIV>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -