- 浏览: 84885 次
文章分类
最新评论
-
bailangfei3344:
自我介绍 -
regionwar:
你好,转化为人为:1、不该加锁的不要加锁:局部变量,单线程占用 ...
关于java锁机制的优化 -
danni505:
希望能交流:
msn:danni-505#hotmail.co ...
关于java锁机制的优化 -
ouspec:
收藏的东西不错。
TOP500 -
willpower:
The idea behind is e-sync IO do ...
Rethink the sync
1. 只要程式中的non-Daemon thread都結束了..
就算有Daemon Thread仍在執行中...
程式一樣會被強制結束...
最簡單的例子就是garbage collector thread..
2. 如果某個 Thread 是 daemon thread,則它所產生的所有 threads 天生就
具有 daemon 的特性
3. A daemon thread should be used for some background task that
might provide a service to the applications. e.g. a Server thread
listening on a port for the clients' requests.
出自http://www.vyomworld.com/source/show.asp?ScriptID=176
以下出自http://web.syr.edu/~maaljlay/daemon.html
4. Any Java thread can be a daemon thread. Daemon threads are service
providers for other threads or objects running in the same process as
the daemon thread. For example, the thread that runs the garbage
collector in Java is a daemon thread, In general, threads that run
application code are not daemon thread, and threads that run system
code are daemon threads
5. The run() method for a daemon thread is typically an infinite loop that
waits for a service request, perform the service, and wait for the next
service request. Daemon threads continue to execute until there are
no more threads for which services can be provided. At this time, the
daemon threads die and the java interpreter terminated its execution.
6. Daemon threads are typically independent threads within an application
that provide services for other objects within that same application
7. As result from the experiment, the daemon threads are equal in
priority of the conventional user threads, it is recommended to make
them in the lowest priority as the garbage collector thread in java.
就算有Daemon Thread仍在執行中...
程式一樣會被強制結束...
最簡單的例子就是garbage collector thread..
2. 如果某個 Thread 是 daemon thread,則它所產生的所有 threads 天生就
具有 daemon 的特性
3. A daemon thread should be used for some background task that
might provide a service to the applications. e.g. a Server thread
listening on a port for the clients' requests.
出自http://www.vyomworld.com/source/show.asp?ScriptID=176
以下出自http://web.syr.edu/~maaljlay/daemon.html
4. Any Java thread can be a daemon thread. Daemon threads are service
providers for other threads or objects running in the same process as
the daemon thread. For example, the thread that runs the garbage
collector in Java is a daemon thread, In general, threads that run
application code are not daemon thread, and threads that run system
code are daemon threads
5. The run() method for a daemon thread is typically an infinite loop that
waits for a service request, perform the service, and wait for the next
service request. Daemon threads continue to execute until there are
no more threads for which services can be provided. At this time, the
daemon threads die and the java interpreter terminated its execution.
6. Daemon threads are typically independent threads within an application
that provide services for other objects within that same application
7. As result from the experiment, the daemon threads are equal in
priority of the conventional user threads, it is recommended to make
them in the lowest priority as the garbage collector thread in java.
发表评论
-
字符编码笔记:ASCII,Unicode和UTF-8 (引用)
2009-01-07 10:39 924字符编码笔记:ASCII,Unicode和UTF-8 阮一峰 ... -
How to set up a simple LRU cache using LinkedHash
2008-11-03 18:05 1278How to set up a simple LRU cach ... -
Scalability?
2008-10-07 14:07 825严格上讲,scalability还没有正式定义, 甚至有人觉得 ... -
Cray Reminiscences
2007-08-29 15:54 790Kirk Pepperdine's attendence of ... -
lock-free
2007-06-18 22:06 9891. http://www.ibm.com/developer ... -
解决java.lang.OutOfMemoryError: PermGen space(转帖)
2007-06-05 18:07 3159解决方案就是:在启动服务器时加上指定PermGen区域的内存大 ... -
Performance...
2007-06-05 15:11 978« I used to work for... | Mai ... -
数据仓库
2007-04-18 10:38 1117... -
Expressions Transform
2007-04-13 11:13 1385Expressions, Conversion and Eva ... -
Java cleanup code
2007-04-03 12:20 1291Java shutdown hook guarantee th ... -
Java performance tunning
2007-04-03 11:37 936http://www.javaperformancetunin ... -
Running IE from command line
2007-04-03 10:58 1109Here's a simple way you can ru ... -
Unicode and UTF8
2007-04-03 10:27 907What is Unicode? Unicode provid ... -
How to know the main class of a jar file?
2007-04-02 15:18 1028Easy. Here is an implementation ... -
The best chinese BAT tutorial(from www.boofee.net/bigfee/)
2007-03-27 11:58 1329如何创建批处理文件? 不要听了批处理文件就感到很神气 ... -
Basics - Binary search
2007-03-26 15:53 964java 代码 public class Bin ... -
MergeSort
2007-03-23 17:26 836MergeSort is a sample solutio ... -
Graph data structure
2007-03-23 12:04 8721. adjacent matrix good for bor ... -
Functional Programming For The Rest of Us
2007-03-23 10:39 1284I like connect beautiful artic ... -
Functional Programming For The Rest of Us
2007-03-23 10:24 1062I like connect beautiful artic ...
相关推荐
java中的daemon thread java中有两种类型的thread,user threads 和 daemon threads。 User threads是高优先级的thread,JVM将会等待所有的User Threads运行完毕之后才会结束运行。 daemon threads是低优先级的...
ThreadDaemon.class
ThreadDaemon.java
Daemon Tools是一款著名的虚拟光驱软件,它在IT行业中被广泛使用,特别是在安装大型游戏或软件时,无需物理光驱即可运行CD/DVD镜像文件。该软件的主要功能是模拟光驱设备,允许用户加载ISO、BIN等镜像文件,极大地...
"daemon.rar" 是一个包含"daemon.exe"的压缩包,该文件通常指的是Daemon Tools,这是一个非常流行的虚拟光驱软件,尤其适用于Windows操作系统。 Daemon Tools允许用户加载ISO、BIN等光盘映像文件,模拟出一个或多个...
虚拟光驱 daemon_tools_347cn_eric虚拟光驱 daemon_tools_347cn_eric虚拟光驱 daemon_tools_347cn_eric虚拟光驱 daemon_tools_347cn_eric虚拟光驱 daemon_tools_347cn_eric虚拟光驱 daemon_tools_347cn_eric虚拟光驱...
**daemontools 3.4.7简体中文版:强大的虚拟光驱软件** daemontools是一款经典的系统管理工具,主要用于创建、管理和监控服务(daemon)在Unix-like操作系统中的运行状态。由David J. Butenhof开发,它提供了一套...
Daemon Tools是一款广受欢迎的虚拟光驱软件,尤其在游戏爱好者和系统管理员中有着广泛的使用。它的3.47版本是一个经典的老版本,以其小巧的体积(不到500KB)和出色的性能赢得了用户的好评。这个版本可能在很多地方...
Daemon Tools是一款著名的虚拟光驱软件,它在IT领域中被广泛使用,特别是在游戏爱好者和系统管理员之间。Daemon Tools v4.0.9是该软件的一个版本,它允许用户创建虚拟CD和DVD驱动器,以便无需物理光盘即可运行软件、...
Daemon Tools是这类虚拟光驱软件的代表之一,它提供了方便快捷的ISO镜像管理功能。然而,有时候在卸载Daemon Tools后,可能会遇到一些问题,比如虚拟光驱仍然出现在系统中,或者残留的文件导致新的安装无法正常进行...
《虚拟光驱技术详解与DAEMON Tools V3.46简体中文版介绍》 在数字化时代,虚拟光驱作为一种高效、便捷的工具,已经逐渐成为计算机用户的重要辅助软件。虚拟光驱允许用户在没有物理光驱的情况下,通过创建虚拟光盘...
Daemon Tools是一款广受欢迎的虚拟光驱软件,尤其在3.46版本时,它已经拥有相当成熟的稳定性和功能。这个版本特别为中国用户提供了简体中文界面,使得国内用户能够更加方便地操作和理解软件的各项功能。 Daemon ...
标题中的"daemon3.47版"指的是Daemon Tools这一知名虚拟光驱软件的特定版本,即3.47版。Daemon Tools是历史悠久且广受好评的虚拟光驱软件之一,它提供多种操作系统平台的支持,包括Windows系统。 Daemon Tools的...
DaemonTools4.09是一款经典的虚拟光驱软件,它允许用户在计算机上模拟CD/DVD驱动器,无需物理光盘即可运行光盘映像文件。这个版本被特别提及为适用于Windows Server 2008操作系统,表明它兼容该服务器平台,但可能不...
Daemontools是一款功能强大的系统工具,主要用于管理和监控持续运行的服务。版本4.11是其一个重要的更新,特别地,这里的"中文完美版"意味着它已经进行了汉化处理,适合中国用户使用,无需担心语言障碍。这个版本的...
"daemon-0.8.tar.gz" 是一个在IT领域常见的压缩文件格式,它包含了名为 "daemon-0.8" 的项目或软件的源代码或资源。这个文件的命名方式表明它是一个版本号为0.8的守护进程(daemon)相关的程序。在Linux和Unix系统中...
另一方面,对于用户在PC上输入的数据,adb shell会创建一个新的线程`stdin_read_thread`,这个线程会监听标准输入(stdin),并将接收到的键盘输入通过之前建立的socket连接发送给设备的daemon。这样,用户在终端上...
Daemon Tools v4.03 V4.03HE 汉化版,相信经常使用虚拟光驱的人都应该记得,这是当年极其经典的一个版本。 现在的虚拟光驱越做越大,功能也越来越多,最新的版本Daemon Tools 安装后要占用硬盘50多M,然尔对一般的...
DAEMON Tools Lite 可以制作简单光盘映像文件和模拟 CD/DVD 光驱的最流行软件产品 功能 加载 *.mdx, *.mds/*.mdf, *.iso, *.b5t, *.b6t, *.bwt, *.ccd, *.cdi, *.bin/*.cue, *.ape/*.cue, *.flac/*.cue, *.nrg, ...
DAEMON Tools是一款经典的虚拟光驱软件,其V4.08版本特别推出了简繁体双语中文版,方便中国用户使用。这款软件在全球范围内享有很高的知名度,尤其在IT专业人士和游戏玩家中间,因其强大的功能和易用性而备受青睐。 ...