·ChinaUnix首页 ·论坛 ·博客 
Linux首页 | Linux新闻 | Linux文档 | Linux论坛 | Linux下载 | Linux博客 | Linux搜索
新手入门 | 安装启动 | 管理员指南 | 开发手册 | 桌面应用 | 程序开发 | 数据库 | 网络技术| CentOS | Fedora | MySQL | Apache | Ubuntu | Gentoo| OSCON08
  Linux时代 >> 技术文档 >> 系统管理
 
Maemo Launcher
来源: ChinaUnix博客  日期: 2008.03.13 21:07 (共有条评论) 我要评论
 

Maemo Launcher
Maemo launcher launches all applications on the maemo platform. It is
there to speed up application startup by sharing some of the
initialization data of an application startup. Maemo Launcher is
composed of two parts: (i) the maemo-invoker, which is executed by
D-BUS daemon or scripts to start the given (application) service, and
(ii) maemo-launcher, a server that has initialized most of the data
used by the applications.
The maemo-invoker asks maemo-launcher to start the actual
application. Use of maemo launcher requires that application is
compiled as a shared library. There's a set of helper Debian package
rules which make an application to “automatically” use maemo-invoker
when given suitable build options. As a result, the application binary
name is linked to maemo-invoker and application (library) binary name
has .launch extension. By default the invoker will wait until the
maemo-launcher tells it that the application has exited so that it can
return the correct return value for the caller.
The maemo-launcher is a server process that has initialized
most of the data used by the applications, such as Glib types, Gtk
theme and some Gtk widget classes. When it's asked by maemo-invoker to
start an application, instead of executing the application binary, it
will dl-load that as a shared library, fork and call main(). With fork,
the initialized data is handled as copy-on-write, i.e. shared until
it's modified. If the application exits abnormally, maemo-launcher
notifies Desktop so that Desktop can inform user about it.
Because prelinking doesn't work with dl-loaded libraries, maemo
Launcher cannot speed up starting of applications where library linking
has larger effect on the startup time than AF library initializations.
It can still save memory though.
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/49742/showart_495626.html
  发表评论 查看评论(共有条评论) 我要提问
 
 


最新资讯更多>> 
· 番茄花园事件给我们的反思
· 红帽收购Qumranet加强虚拟化领..
· Debian 下一个稳定版的代号被确..
· 发行版发布:Mandriva Linux 2..
· Sun VirtualBox v2.0 发布
· Ubuntu Linux用户突破800万
· Mandriva Linux 2009 RC 1 发布
· 构建Linux版本的谷歌Chrome浏览器
· 发行版发布:Scientific Linux..
· BSD发行版:DragonFly BSD 2.1..
论坛热点更多>> 
· 奔腾老机器16M内存,还能用什..
· 【经典】我是一条内存
· 刚接到通知
· 建议!
· 下班我们部门KTV有美女陪 o(..
· 中秋都有什么打算啊
· 誰懂裝修啊,來幫幫忙
· UNIX环境高级编程这本书怎么样?
· 真实的战争~~~~来晚的已经没..
· 《深入理解Linux网络内幕》原..
文档更新更多>> 
· 用YUM升级CentOS系统中PHP和MySQL
· [转]Red Hat Linux 安全设置指南
· 使用Emacs作为文件管理器
· linux内核的移植与遭遇问题的解决
· KStar 校园网锐捷认证GUI版
· 给eclipse安装CDT插件开发C/C++工程
· ubuntu 8.10 安装 Lotus Symphony
· fsck命令
· RHEL5的kickstart中的%packages部..
· linux 线程实现机制分析
 
关于我们 | 联系方式 | 广告合作 | 诚聘英才 | 网站地图 | 友情链接 | 免费注册

Copyright © 2001-2008 ChinaUnix.net All Rights Reserved

感谢所有关心和支持过ChinaUnix的朋友们