100165454.htm

来自「C#高级编程(第三版),顶死你们。。 。up」· HTM 代码 · 共 68 行

HTM
68
字号


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
	
        15.6  同步
</title></head>
<body>
    <div class="area">

        

        <div class="col1">
            <div class="lineBlue">
            </div>
            <!-- title -->
            <div class="arcTitle">
                <h1>
                    <a href="../16">
                        C#高级编程(第3版)【全文连载】
                    </a>
                </h1>
                <div style="text-align: center; font-size: 15px">
                    <a href="100165454.htm">
                        15.6  同步
                    </a>
                </div>
                <div style="text-align: center; font-size: 15px">
                    <a class="url" href="../../default.htm">http://book.csdn.net/</a>
                    2006-10-13 14:41:00
                </div>
                <div style="margin: 0px auto; width: 700px; border: solid 1px #0b5f98;">
                    <div style="float: left; width: 16px; background-color: #0b5f98; color: White; padding: 1px;">
                        图书导读
                    </div>
                    <div style="float: right; width: 670px; text-align: left; line-height: 16pt; padding-left: 2px">
                        <!--导读-->
                        <h1 id="divCurrentNode" style="color: #b83507; width: 100%; text-align: left; font-size: 12px; padding-left: 2px">当前章节:<a href='100165454.htm'><font color='red'>15.6  同步</font></a></h1>
                        <div id="divRelateNode" style="padding-left: 2px">
                        <div style='float:left;width:49%'>·<a href='100165451.htm'>15.3  线程的处理</a></div><div style='float:right;width:49%'>·<a href='100165452.htm'>15.4  ThreadPlayaround示例</a></div><div style='float:left;width:49%'>·<a href='100165453.htm'>15.5  线程的优先级</a></div><div style='float:right;width:49%'>·<a href='100165455.htm'>15.6.1  同步的含义</a></div><div style='float:left;width:49%'>·<a href='100165456.htm'>15.6.2  同步问题</a></div><div style='float:right;width:49%'>·<a href='100165457.htm'>15.7  小结</a></div></div>
                    </div>
                </div>
                </div>
            <!-- main -->
            <div id="main">
                <div id="text"> <link href="css.css" rel="stylesheet" type="text/css" /><h3 style="MARGIN-TOP: 11.4pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FTEL: 11.4pt"><a ftel="_Toc507815089"><span lang="EN-US">15.6 &nbsp;</span></a><span style="FONT-FAMILY: 楷体_GB2312">同步</span></h3>
<p class="MsoNormal"><a ftel="synchronization"><span style="FONT-FAMILY: 宋体">使用线程的一个重要方面是同步访问多个线程访问的任何变量。所谓同步,是指在某一时刻只有一个线程可以访问变量。如果不能确保对变量的访问是同步的,就会产生错误。本节将简要介绍同步的一些主要内容。</span></a></p></div>
                <!-- page -->
                <div class="page" style="text-align: center">
                    <a href="100165453.htm">上一页</a>&nbsp;&nbsp;&nbsp;<a href="index.html">首页</a>&nbsp;&nbsp;&nbsp;<a href="100165455.htm">下一页</a>
                </div>
                <div style="margin: 0px auto; width: 700px; border: solid 1px #0b5f98;">
                    <div style="float: left; width: 16px; background-color: #0b5f98; color: White; padding: 1px;">
                        图书导读
                    </div>
                    <div style="float: right; width: 670px; text-align: left; line-height: 16pt; padding-left: 2px">
                        <!--导读-->
                        <h1 id="divCurrentNode2" style="color: #b83507; width: 100%; text-align: left; font-size: 12px; padding-left: 2px">当前章节:<a href='100165454.htm'><font color='red'>15.6  同步</font></a></h1>
                        <div id="divRealteNod2" style="padding-left: 2px">
                        <div style='float:left;width:49%'>·<a href='100165451.htm'>15.3  线程的处理</a></div><div style='float:right;width:49%'>·<a href='100165452.htm'>15.4  ThreadPlayaround示例</a></div><div style='float:left;width:49%'>·<a href='100165453.htm'>15.5  线程的优先级</a></div><div style='float:right;width:49%'>·<a href='100165455.htm'>15.6.1  同步的含义</a></div><div style='float:left;width:49%'>·<a href='100165456.htm'>15.6.2  同步问题</a></div><div style='float:right;width:49%'>·<a href='100165457.htm'>15.7  小结</a></div></div>
                    </div>
                </div>
                </div>
        </div>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?