![]() 记录我们的时代 |
Tag: thread / 热门Tag |
|
关于thread的网志:
[zz] Ruby's Thread#raise, Thread#kill, timeout.rb, and net/protocol.rb libraries are broken
via Although you don't have to take my word for it, eventually you're going to have to accept the truth. Thread#kill, Thread#raise, timeout.rb, net/protocol.rb all suffer from these problems. net/protocol.rb could be fixed to use nonblocking IO (sele
Jan
@ 2008-02-25 15:25:03
Thread in java
在java中创建线程的方式有两种:1, 继承Thread class 2, 实现 Runnable interface 对象锁 java中每一个对象都有一个唯一的对象锁,一个该对象的同步的方法(synchronized方法)在执行时必须要先获得这个对象锁,也就是说这个同步方法与该对象其它的同步方法是互斥的,从这个对象的角度来看,同步的方法就是原子的。 类锁 每一个类也拥有一个唯一的类锁,主要用于静态方法的同步,即同步的静态方法之间是互斥的,而类锁与对象锁是不冲突的,即对于同一个类的方法,同步的静
kua
@ 2007-06-19 10:59:38
Real-Time Java: An Introduction
According to Greg Bollella, a distinguished engineer at Sun Microsystems and one of the authors of the real-time Java specification, real time means the ability to reliably an...
Jan
@ 2006-05-11 13:15:30
|
|
免费注册 -
已注册用户登入管理 -
热门关键词(Tags) -
常见问题帮助 -
设为首页 -
加入收藏夹 |