⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 releasenotes.htm

📁 symbian 多线程例子,可用于S60第二,第三版
💻 HTM
📖 第 1 页 / 共 2 页
字号:
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.02BodyText, li.02BodyText, div.02BodyText
	{mso-style-name:"02 BodyText";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:129.85pt;
	text-indent:-129.85pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.01BodyText, li.01BodyText, div.01BodyText
	{mso-style-name:"01 BodyText";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:64.9pt;
	text-indent:-64.9pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.11BodyText, li.11BodyText, div.11BodyText
	{mso-style-name:"11 BodyText";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:64.9pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.Bulletedo2, li.Bulletedo2, div.Bulletedo2
	{mso-style-name:"Bulleted o 2";
	mso-style-parent:"22 BodyText";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:147.7pt;
	text-indent:-17.85pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.22BodyText, li.22BodyText, div.22BodyText
	{mso-style-name:"22 BodyText";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:129.85pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.12BodyText, li.12BodyText, div.12BodyText
	{mso-style-name:"12 BodyText";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:129.8pt;
	text-indent:-64.9pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.23BodyText, li.23BodyText, div.23BodyText
	{mso-style-name:"23 BodyText";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:194.75pt;
	text-indent:-64.9pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.33BodyText, li.33BodyText, div.33BodyText
	{mso-style-name:"33 BodyText";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:194.75pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.Bulletedo1, li.Bulletedo1, div.Bulletedo1
	{mso-style-name:"Bulleted o 1";
	mso-style-parent:"11 BodyText";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:82.75pt;
	text-indent:-17.85pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.Bulleted-1, li.Bulleted-1, div.Bulleted-1
	{mso-style-name:"Bulleted - 1";
	mso-style-parent:"Bulleted o 1";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:82.75pt;
	text-indent:-17.85pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.NumberedList0, li.NumberedList0, div.NumberedList0
	{mso-style-name:"Numbered List 0";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:64.9pt;
	text-indent:-64.9pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.NumberedList1, li.NumberedList1, div.NumberedList1
	{mso-style-name:"Numbered List 1";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:82.75pt;
	text-indent:-17.85pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.NumberedList2, li.NumberedList2, div.NumberedList2
	{mso-style-name:"Numbered List 2";
	mso-style-parent:"Numbered List 1";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:147.7pt;
	text-indent:-17.85pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.Bulleted-2, li.Bulleted-2, div.Bulleted-2
	{mso-style-name:"Bulleted - 2";
	mso-style-parent:"Bulleted o 2";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:147.7pt;
	text-indent:-17.85pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
p.TitleText, li.TitleText, div.TitleText
	{mso-style-name:"Title Text";
	mso-style-parent:"00 BodyText";
	mso-style-next:"11 BodyText";
	margin-top:0pt;
	margin-right:0pt;
	margin-bottom:11.0pt;
	margin-left:0pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";
	font-weight:bold;
	mso-bidi-font-weight:normal;}
p.DocumentTitle, li.DocumentTitle, div.DocumentTitle
	{mso-style-name:"Document Title";
	margin-top:140.0pt;
	margin-right:0pt;
	margin-bottom:0pt;
	margin-left:0pt;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:18.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";
	font-weight:bold;
	mso-bidi-font-weight:normal;}
ins
	{mso-style-type:export-only;
	text-decoration:none;}
span.msoIns
	{mso-style-type:export-only;
	mso-style-name:"";
	text-decoration:underline;
	text-underline:single;}
 /* Page Definitions */
 @page
	{mso-footnote-separator:url("ReleaseNotes_header.htm") fs;
	mso-footnote-continuation-separator:url("ReleaseNotes_header.htm") fcs;
	mso-endnote-separator:url("ReleaseNotes_header.htm") es;
	mso-endnote-continuation-separator:url("ReleaseNotes_header.htm") ecs;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:113.4pt 28.35pt 42.55pt 56.7pt;
	mso-header-margin:28.35pt;
	mso-footer-margin:28.35pt;
	mso-header:url("ReleaseNotes_header.htm") h1;
	mso-paper-source:7;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:-5;
	mso-list-template-ids:-1;}
@list l0:level1
	{mso-level-style-link:"Heading 1";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	mso-level-legacy:yes;
	mso-level-legacy-indent:0pt;
	mso-level-legacy-space:5.65pt;
	margin-left:0pt;
	text-indent:0pt;}
@list l0:level2
	{mso-level-style-link:"Heading 2";
	mso-level-text:"%1\.%2";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	mso-level-legacy:yes;
	mso-level-legacy-indent:0pt;
	mso-level-legacy-space:5.65pt;
	margin-left:0pt;
	text-indent:0pt;}
@list l0:level3
	{mso-level-style-link:"Heading 3";
	mso-level-text:"%1\.%2\.%3";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	mso-level-legacy:yes;
	mso-level-legacy-indent:0pt;
	mso-level-legacy-space:5.65pt;
	margin-left:0pt;
	text-indent:0pt;}
@list l0:level4
	{mso-level-style-link:"Heading 4";
	mso-level-text:"%1\.%2\.%3\.%4";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	mso-level-legacy:yes;
	mso-level-legacy-indent:0pt;
	mso-level-legacy-space:5.65pt;
	margin-left:0pt;
	text-indent:0pt;}
@list l0:level5
	{mso-level-style-link:"Heading 5";
	mso-level-text:"%1\.%2\.%3\.%4\.%5";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	mso-level-legacy:yes;
	mso-level-legacy-indent:0pt;
	mso-level-legacy-space:5.65pt;
	margin-left:0pt;
	text-indent:0pt;}
@list l0:level6
	{mso-level-style-link:"Heading 6";
	mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	mso-level-legacy:yes;
	mso-level-legacy-indent:0pt;
	mso-level-legacy-space:5.65pt;
	margin-left:0pt;
	text-indent:0pt;}
@list l0:level7
	{mso-level-style-link:"Heading 7";
	mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	mso-level-legacy:yes;
	mso-level-legacy-indent:0pt;
	mso-level-legacy-space:5.65pt;
	margin-left:0pt;
	text-indent:0pt;}
@list l0:level8
	{mso-level-style-link:"Heading 8";
	mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	mso-level-legacy:yes;
	mso-level-legacy-indent:0pt;
	mso-level-legacy-space:5.65pt;
	margin-left:0pt;
	text-indent:0pt;}
@list l0:level9
	{mso-level-style-link:"Heading 9";
	mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	mso-level-legacy:yes;
	mso-level-legacy-indent:0pt;
	mso-level-legacy-space:5.65pt;
	margin-left:0pt;
	text-indent:0pt;}
ol
	{margin-bottom:0pt;}
ul
	{margin-bottom:0pt;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0pt 5.4pt 0pt 5.4pt;
	mso-para-margin:0pt;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:64.9pt'>

<div class=Section1>

<p class=MsoNormal>A<a name="OLE_LINK4"></a><a name="OLE_LINK3"><span
style='mso-bookmark:OLE_LINK4'>bout S60 Platform: Multiple Threads Example v1.1</span></a></p>

<p class=MsoNormal>--------------------</p>

<p class=MsoNormal>The Thread Example is an example program that demonstrates
thread usage and </p>

<p class=MsoNormal>synchronization. The example is based on the document Symbian
OS: Threads Programming. </p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Prerequisites</p>

<p class=MsoNormal>------------</p>

<p class=MsoNormal>- Active Objects</p>

<p class=MsoNormal>- Multitasking</p>

<p class=MsoNormal>- Symbian OS key concepts</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Running the Thread Example</p>

<p class=MsoNormal>----------------------</p>

<p class=MsoNormal>Open the options menu. Select &quot;Start threads.&quot;</p>

<p class=MsoNormal>Now you should see three animations running. </p>

<p class=MsoNormal>Open the options menu again and start killing threads.</p>

<p class=MsoNormal>After killing a thread, the thread should reactivate in a </p>

<p class=MsoNormal>few seconds, that is, the animation should reappear.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>All threads are counting while they are running.</p>

<p class=MsoNormal>Thread2 and thread3 are synchronized and they increment the
same</p>

<p class=MsoNormal>TInt counter. Thread1 increments a separate counter by
itself,</p>

<p class=MsoNormal>thus no synchronization is required. Threads print the value</p>

<p class=MsoNormal>of the counter on the screen when they have been killed.</p>

<p class=MsoNormal>The user can be sure that the thread is running if the value</p>

<p class=MsoNormal>of the counter is bigger than zero. The counter of Thread1
is reset</p>

<p class=MsoNormal>when thread1 is killed. The counter of Thread2 &amp; thread3
is reset</p>

<p class=MsoNormal>when thread2 or thread3 has been killed.</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Installation instructions</p>

<p class=MsoNormal>-----------------------</p>

<p class=MsoNormal>-----------------------</p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>DEVICE</p>

<p class=MsoNormal>------------------</p>

<p class=MsoNormal>S60 2nd Edition SDKs:</p>

<p class=MsoNormal><span style='mso-spacerun:yes'>牋

⌨️ 快捷键说明

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