?? minigui體系結構之一 體系結構概覽.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0082)http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-4/index.shtml -->
<HTML
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>MiniGUI體系結構之一 體系結構概覽</TITLE><!-- ***** comments #1: Meta Information - can be editted ***** -->
<META http-equiv=Content-Type content="text/html; charset=GB2312">
<META content=index,follow name=ROBOTS>
<META
content="linux, linux tutorials, linux training, linux standards, linux code, linux resources, linux programming, open source standards, linux how to, IBM, linux 教程, linux 培訓,Linux 文章, Linux 論文, linux 標準, Linux 白皮書 linux 代碼, linux 參考資料, linux 編程, 開放源碼標準"
name=KEYWORDS>
<META content="嵌入,MiniGUI,體系結構,POSIX Thread,線程" name=KEYWORDS>
<META
content="為了幫助更多軟件開發人員理解 MiniGUI及其編程,同時幫助更多的自由軟件開發人員加入 MiniGUI 的開發,我們將撰寫一系列文章介紹MiniGUI的體系結構。本文是系列文章的第一篇,將在整體上對MiniGUI的體系結構作一介紹。其中主要包括:線程的基本概念;基于 POSIX Thread 的微客戶/服務器結構;用來同步微客戶/服務器動作的關鍵數據結構――消息隊列;面向對象技術在 MiniGUI 中的應用等等。最后,文章展望了我們計劃在 MiniGUI 2.0 版開發中采用的體系結構。"
name=ABSTRACT>
<META content=papers_html name=dWCategory>
<META content=Linux name=zone>
<META
content="為了幫助更多軟件開發人員理解 MiniGUI及其編程,同時幫助更多的自由軟件開發人員加入 MiniGUI 的開發,我們將撰寫一系列文章介紹 MiniGUI 的體系結構。本文是系列文章的第一篇,將在整體上對 MiniGUI 的體系結構作一介紹。其中主要包括:線程的基本概念;基于 POSIX Thread 的微客戶/服務器結構;用來同步微客戶/服務器動作的關鍵數據結構――消息隊列;面向對象技術在 MiniGUI 中的應用等等。最后,文章展望了我們計劃在 MiniGUI 2.0 版開發中采用的體系結構。"
name=DESCRIPTION>
<META content=public name=SECURITY>
<META content=2000xxxx name="LAST UPDATED"><!-- ***** end Meta Information ***** --><!-- ***** DO NOT EDIT FOLLOWING CODE ***** -->
<SCRIPT language=JavaScript type=text/javascript><!-- function nav_pulldown(list) {top.document.location.href = list.options[list.selectedIndex].value;} function wB(){var br="BR";if((navigator.userAgent.indexOf('Mozilla')!= -1)&&((navigator.userAgent.indexOf('Spoofer')==-1)&&(navigator.userAgent.indexOf('compatible')==-1))){br="NS"}return br} function wV(br){var bv=0;bv=navigator.appVersion.substring(0,1);if(br=="IE"){(parseInt(bv));}if(br=="NS"){(parseInt(bv));}return bv;} function wP(){var os="OS";if(navigator.userAgent.indexOf("OS/2")!=-1){os='os/2'}return os;}b=wB();v=wV(b);o=wP(); function change_bgColor() {if (b=="NS" && v==2 && o != "os/2"){document.bgColor="#999999"}} function gotosite() {var L = document.formSpinbox.pickWW.selectedIndex; location.href = document.formSpinbox.pickWW.options[L].value; return false;}//--> </SCRIPT>
<LINK href="MiniGUI體系結構之一 體系結構概覽.files/style3.css" type=text/css rel=stylesheet><!-- comments #2 --><!-- begin insert header includes -->
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY aLink=#0000ff bgColor=#ffffff leftMargin=2 topMargin=2 marginwidth="2"
marginheight="2">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR bgColor=#006699>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=300 border=0>
<TBODY>
<TR bgColor=#006699>
<TD width=150><IMG height=25 alt=IBM
src="MiniGUI體系結構之一 體系結構概覽.files/mast_logo.gif" width=150></TD>
<TD width=150
background="MiniGUI體系結構之一 體系結構概覽.files/mgradient.gif"><FONT
face="arial, sans-serif" color=#99ccff
size=-1><B>China</B></FONT><BR><IMG height=1 alt=""
src="MiniGUI體系結構之一 體系結構概覽.files/c.gif"
width=150></TD></TR></TBODY></TABLE></TD>
<TD align=left>
<TABLE cellSpacing=0 cellPadding=0 width=300 border=0>
<TBODY>
<TR>
<TD width=100><A
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/shop/cn"><IMG
height=25 alt=購物 src="MiniGUI體系結構之一 體系結構概覽.files/shopibm.gif"
width=100 border=0></A></TD>
<TD width=100><A
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/support"><IMG
height=25 alt=技術支持 src="MiniGUI體系結構之一 體系結構概覽.files/support_chs.gif"
width=100 border=0></A></TD>
<TD width=100><A
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/support/product"><IMG
height=25 alt=免費下載
src="MiniGUI體系結構之一 體系結構概覽.files/downloads_chs.gif" width=100
border=0></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR bgColor=#000000>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=600 border=0>
<TBODY>
<TR>
<TD width=150 bgColor=#006699><IMG height=21 alt=""
src="MiniGUI體系結構之一 體系結構概覽.files/mast_lnav_sp.gif" width=150></TD>
<TD bgColor=#000000 colSpan=4>
<TABLE height=21 cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn"><B>IBM
主頁</B></A></TD>
<TD width=1 bgColor=#959595><IMG height=1 alt=""
src="MiniGUI體系結構之一 體系結構概覽.files/c.gif" width=1></TD>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/products"><B>產品</B></A></TD>
<TD width=1 bgColor=#959595><IMG height=1 alt=""
src="MiniGUI體系結構之一 體系結構概覽.files/c.gif" width=1></TD>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/services"><B>咨詢</B></A></TD>
<TD width=1 bgColor=#959595><IMG height=1 alt=""
src="MiniGUI體系結構之一 體系結構概覽.files/c.gif" width=1></TD>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/industry"><B>行業</B></A></TD>
<TD width=1 bgColor=#959595><IMG height=1 alt=""
src="MiniGUI體系結構之一 體系結構概覽.files/c.gif" width=1></TD>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/news"><B>新聞</B></A></TD>
<TD width=1 bgColor=#959595><IMG height=1 alt=""
src="MiniGUI體系結構之一 體系結構概覽.files/c.gif" width=1></TD>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/ibm"><B>關于
IBM</B></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD> <A
href="http://www-900.ibm.com/developerWorks/cn/index.html"><B>dW
中國站點</B></A><B> : </B><A
href="http://www-900.ibm.com/developerWorks/cn/linux/"
target=_top><B>Linux 概覽</B></A><B> : </B><B><A
href="http://www-900.ibm.com/developerWorks/cn/cnpapers.nsf/linux-papers-bynewest?OpenView&count=500">文檔庫
- 論文</A></B></TD></TR>
<TR>
<TD width="100%"><IMG height=1 alt=""
src="D:\新建文件夾\MiniGUI體系結構之一 體系結構概覽.files\c(1).gif" width=8></TD>
<TR>
<TD bgColor=#cc6633 height=3><IMG height=3 alt=""
src="D:\新建文件夾\MiniGUI體系結構之一 體系結構概覽.files\c(1).gif" width=150></TD></TR>
<TR>
<TD bgColor=#333333 height=1><IMG height=1 alt=""
src="D:\新建文件夾\MiniGUI體系結構之一 體系結構概覽.files\c(1).gif" width=150></TD></TR>
<TR>
<TD bgColor=#000000 height=1><IMG height=1 alt=""
src="D:\新建文件夾\MiniGUI體系結構之一 體系結構概覽.files\c(1).gif"
width=150></TD></TR></TBODY></TABLE><!-- comments #2 -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR colspan="3">
<TD width=8><!-- gutter --><IMG height=1 alt=""
src="MiniGUI體系結構之一 體系結構概覽.files/c.gif" width=8></TD>
<TD></TD></TR><!-- ***** comments #3: bread crumb trail ***** --><!-- ***** comments #4: enter the pdf link and size ***** -->
<TR>
<TD vAlign=top width=8><!-- gutter --><IMG height=1 alt=""
src="MiniGUI體系結構之一 體系結構概覽.files/c.gif" width=8></TD>
<TD vAlign=top><!-- ***** comments #5: enter the Title, subtitle, author name, job title, and month/year article was initially published ***** --><BR>
<P><STRONG class=title>MiniGUI體系結構之一</STRONG><BR><STRONG
class=subtitle>體系結構概覽</STRONG></P>
<P>魏永明<BR>藍點軟件(北京)研發中心技術主管<BR>2000/12/02</P><!-- END title and author lines --><!-- Editor #5: Begin Table of Contents -->
<TABLE cellSpacing=0 cellPadding=0 width=137 align=right border=0>
<TBODY>
<TR>
<TD align=middle bgColor=#cc6633><FONT face=helvetica,helv,arial
color=#ffffff size=-1><B>Contents:</B></FONT></TD></TR>
<TR>
<TD width="100%" bgColor=#000000><FONT face=helvetica,helv,arial
size=-3><IMG height=1 alt="" src="MiniGUI體系結構之一 體系結構概覽.files/c.gif"
width=1 border=0></FONT></TD></TR>
<TR>
<TD width="100%" bgColor=#ffffff><FONT face=helvetica,helv,arial
size=-3><IMG height=4 alt="" src="MiniGUI體系結構之一 體系結構概覽.files/c.gif"
width=1 border=0></FONT></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-4/index.shtml#1"><FONT
face=helvetica,helv,arial size=-2>1 引言</FONT></A></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-4/index.shtml#2"><FONT
face=helvetica,helv,arial size=-2>2 POSIX 線程</FONT></A></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-4/index.shtml#3"><FONT
face=helvetica,helv,arial size=-2>3 基于 PThread
大微客戶/服務器結構</FONT></A></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-4/index.shtml#4"><FONT
face=helvetica,helv,arial size=-2>4
多線程通訊的關鍵數據結構——消息隊列</FONT></A></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-4/index.shtml#5"><FONT
face=helvetica,helv,arial size=-2>5 面向對象技術在 MiniGUI
中的應用</FONT></A></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-4/index.shtml#5"><FONT
face=helvetica,helv,arial size=-2>6 在 MiniGUI 2.0
中的考慮</FONT></A></TD></TR>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -