06 2013 档案

摘要:Pausing Execution with SleepThread.sleepcauses 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 system. Thesleepmethod can als 阅读全文
posted @ 2013-06-28 20:57 alexander.bruce.lee 阅读(908) 评论(0) 推荐(0)
摘要:Thread ObjectsEach thread is associated with an instance of the classThread. There are two basic strategies for usingThreadobjects to create a concurrent application.To directly control thread creation and management, simply instantiateThreadeach time the application needs to initiate an asynchronou 阅读全文
posted @ 2013-06-26 21:55 alexander.bruce.lee 阅读(320) 评论(0) 推荐(0)
摘要:Processes and ThreadsIn concurrent programming, there are two basic units of execution:processesandthreads. In the Java programming language, concurrent programming is mostly concerned with threads. However, processes are also important.A computer system normally has many active processes and thread 阅读全文
posted @ 2013-06-21 21:16 alexander.bruce.lee 阅读(639) 评论(0) 推荐(0)
摘要:Lesson: ConcurrencyComputer users take it for granted that their systems can do more than one thing at a time. They assume that they can continue to work in a word processor, while other applications download files, manage the print queue, and stream audio. Even a single application is often expecte 阅读全文
posted @ 2013-06-20 00:21 alexander.bruce.lee 阅读(284) 评论(0) 推荐(0)
摘要:Mongo DB Study: first face with mongo DB1. study methods:1. Translate: I am the mongo DB organization website truck man. And I may use my knowledge to help myself learn more.2. Practice: only the practice can make me what I have done and what I can do.2. Ooh, Mongo Db is an open source (c++) no SQL 阅读全文
posted @ 2013-06-16 16:24 alexander.bruce.lee 阅读(969) 评论(0) 推荐(0)