一

{"type":"编程笔记"}


  • Home

  • Archives
  • Search

java.lang.thread线程相关知识

Posted on 2012-11-13   |   In java

java.lang.Thread是Java API中的基础线程类。定义线程的方法有两种:

  1. 一种是制作Thead的子类,覆盖run()方法,然后实例化Thread子类
  2. 另一种是定义实现了Runnable接口的类,然后传递此Runnable对象的instance给Thread()构造函数。

无论哪个方法,结果都是得到Thread对象,其中run()方法是线程主体。

Read more »

grep_options and grep_color on mac os x

Posted on 2012-10-26   |   In macos

在Mac OS X下将grep匹配到的结果高亮显示。

 vi ~/.bash_profileexport GREP_OPTIONS='--color=auto'export GREP_COLOR='1;30;40'

linux查看某个进程的启动时间

Posted on 2012-10-26   |   In linux

linux

Read more »

java c3p0 configuration properties

Posted on 2012-10-26   |   In java

c3p0配置属性说明

Read more »

mac os x how to connect to windows file sharing

Posted on 2012-10-26   |   In macos

Mac OS X连接windows共享。

Read more »
1…343536…99
yuweijun

yuweijun

492 posts
12 categories
RSS
GitHub Twitter
© 2021 yuweijun
Powered by Hexo
Theme - NexT.Mist.KISS