Multi-threads
文章平均质量分 82
金鱼我在这
这个作者很懒,什么都没留下…
展开
-
Multi-Thread 2---ThreadLocal
1. what is ThreadLocal Thread local is not a thread. It's more like原创 2014-05-17 03:58:28 · 874 阅读 · 0 评论 -
Multi-Thread 1: how to use synchronized
1. synchronized If two threads are using the same function( here we use output to print out string) of another instance, if we want to make sure that these two threads are not disturbing each other.原创 2014-05-14 05:23:32 · 901 阅读 · 0 评论 -
Multi-Thread 4--- Lock & Conditions
1. Using reading and writing lock Reading lock can make a data be read ea原创 2014-05-21 08:29:56 · 749 阅读 · 0 评论 -
Multi-Thread 3---Use thread Pool
1. Classic example to use Thread pool原创 2014-05-21 03:21:05 · 731 阅读 · 0 评论