码迷,mamicode.com
首页 >  
搜索关键字:race condition    ( 2350个结果
java dump
注意,请不要被我误导,我没有看其他资料,这是我自己分析的,有些可能是不对的"DestroyJavaVM" prio=6 tid=0x00316800 nid=0x448 waiting on condition [0x00000000..0x00a0fd4c]java.lang.Thread.Sta...
分类:编程语言   时间:2014-08-25 11:29:24    阅读次数:216
sublime php插件
1. Package ControlGetPackage Control here.2. Theme - Phoenix and Flatland(扁平)If Sublime Text 2 is a highly tuned race car, then this plugin is the fl....
分类:Web程序   时间:2014-08-23 05:39:39    阅读次数:647
UVA - 1436 Counting heaps
Description We are given a rooted tree of n vertices. The vertices are to be labeled with numbers 1, 2,..., n so that each label is unique and the heap condition holds, i.e. the label of any verte...
分类:其他好文   时间:2014-08-22 17:53:39    阅读次数:264
java基础知识回顾之java Thread类学习(把)--java.util.concurrent.locks(JDK1.5)与synchronized异同讲解
看API文档介绍几个方法:JDK1.5中提供了多线程的升级解决方案: 特点:1.将同步synchronized显示的替换成Lock 2.接口Condition:Condition替代了Object监视器方法(wait、notify、notifyAll),分别替换成了await(),signal() ...
分类:编程语言   时间:2014-08-22 10:40:36    阅读次数:280
poj 2274 The Race(逆序数+线段树)
poj 2274 The Race(逆序数+线段树)...
分类:其他好文   时间:2014-08-21 21:11:04    阅读次数:290
c++11线程之条件变量condition_variable(二)
题目:编写一个程序,开启3个线程,这3个线程的ID分别为A、B、C,每个线程将自己的ID在屏幕上打印10遍,要求输出结果必须按ABC的顺序显示;如:ABCABC….依次递推。 采用C++11实现: [cpp] view plaincopyprint? #include   #include   #include   #include   using names...
分类:编程语言   时间:2014-08-21 17:16:04    阅读次数:219
c++11线程之条件变量condition_variable
题目:子线程循环 10 次,接着主线程循环 100 次,接着又回到子线程循环 10 次,接着再回到主线程又循环 100 次,如此循环50次,试写出代码。 [cpp] view plaincopyprint? #include   #include   #include   #include   using namespace std;  mutex m;  co...
分类:编程语言   时间:2014-08-21 15:02:14    阅读次数:218
j.u.c.locks.condition
分享JUC中的Condition的比较少见,我见了大部分文章都是讲其中的一个例子BoundedBuffer。今天先从Condition接口的几个方法说起,然后在把BoundedBuffer搞死锁了。来看看Condition在使用的时候需要注意什么。 源代...
分类:其他好文   时间:2014-08-18 18:56:03    阅读次数:305
LightOJ 1038 Race to 1 Again 期望 记忆化dp
题目链接:点击打开链接 1038 - Race to 1 Again PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Rimi learned a new thing about integers, whic...
分类:其他好文   时间:2014-08-18 01:35:13    阅读次数:283
对 Java 内存模型的理解
阐述了自己对 Java 语言规范中内存模型的理解。...
分类:编程语言   时间:2014-08-17 22:53:42    阅读次数:245
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!