Java+Android线程池

线程池

http://blog.csdn.net/aitangyong/article/details/38822505

AsyncTask

http://bbs.51cto.com/thread-1114378-1.html

http://blog.csdn.net/ai_yong_jie/article/details/52116411

http://www.cnblogs.com/wanqieddy/p/3836480.html

http://zmywly8866.github.io/2015/09/29/android-call-asynctask-excute-not-run.html

BlockingQueue

http://wsmajunfeng.iteye.com/blog/1629354

Thread守护线程

http://www.cnblogs.com/super-d2/p/3348183.html

https://my.oschina.net/u/1268001/blog/225294

原子加减

http://www.cnblogs.com/Gordon-YangYiBao/archive/2012/08/07/2626422.html

类锁和对象锁

http://langgufu.iteye.com/blog/2152608

生产者-消费者

synchronized{wait,notifyAll/notify}

http://blog.csdn.net/zbc1090549839/article/details/53199539

lock+condition{ReentrantLock,await,singleAll}

http://blog.csdn.net/zbc1090549839/article/details/53199539

公平锁+非公平锁

http://www.open-open.com/lib/view/open1464765971078.html

new Thread(ThreadGroup,Runnable,threadName,stackSize)

setPriority

setDaemon

Executors.newCacheThreadpool

.newFixThreadpool

.newSingleThreadPool

.newSheduledThreadpool

都会调用new ThreadPoolExecutor(coreSize,maxSize,keepAliveTime,timeUnit,blockingQueue,threadFactory)

ThreadFactory

@Override

newThread(Runnable){

}

你可能感兴趣的:(Java+Android线程池)