摘要:
Pausing Execution with Sleep用睡眠(Sleep)暂停执行(Execution)Thread.sleep causes the current thread to suspend execution for a specified period. This is an efficient means of making processor time available to the other threads of an application or other applications that might be running on a computer syst 阅读全文
摘要:
Thread Objects线程对象Each thread is associated with an instance of the class Thread. There are two basic strategies for using Thread objects to create a concurrent application.每个线程都与线程类的实例有关。使用线程对象创建同步应用程序有俩个基本的策略To directly control thread creation and management, simply instantiate Thread each time th 阅读全文
摘要:
Processes and Threads进程和线程In concurrent programming, there are two basic units of execution: processes and threads. In the Java programming language, concurrent programming is mostly concerned with threads. However, processes are also important.在并发编程中,有2个基本的执行单元:进程和线程。在java编程语言中,并发编程通常比较关心线程。然而进程也是非 阅读全文
摘要:
阶段总结 毕业到现在也有将近一年的时间,在这一年的时间里一直在做it开发相关的工作。随着开发经验的增加,越来越觉得自己技术底子薄弱。现在总结一下自己的薄弱环节,查漏补缺一下。由于现在主要是从事开发javaweb相关的工作,所以学习重点也放在javaweb上。 1.阅读java解惑和java编程思想加深对语言的理解。重点放在集合,多线程,io操作上 2.《Effective Java》 3.学习Java的框架,Java的框架也是多,如Spring, Hibernate,Struts 等等,主要是学习Java的设计,如IoC等。 4.重点学习J2EE架构以及JMS, RMI, 等消息传递和远程.. 阅读全文