摘要:
现在个人电脑以及服务器都是多核cpu,如何提高多核cpu的利用率,就要用到多线程技术了。 public class TestThread1 { static int i = 0; static class PThread extends Thread { public void run() { fo 阅读全文
posted @ 2016-02-26 20:54 huhuuu 阅读(220) 评论(0) 推荐(0)
|
|||
|
摘要:
现在个人电脑以及服务器都是多核cpu,如何提高多核cpu的利用率,就要用到多线程技术了。 public class TestThread1 { static int i = 0; static class PThread extends Thread { public void run() { fo 阅读全文
posted @ 2016-02-26 20:54 huhuuu 阅读(220) 评论(0) 推荐(0) |
|||