码迷,mamicode.com
首页 >  
搜索关键字:race condition    ( 2350个结果
【LeetCode】Valid Palindrome
题目 Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" i...
分类:其他好文   时间:2014-07-02 09:49:04    阅读次数:271
boost 轻量级信号量
#include #include #include #include class semaphore{unsigned int count_;boost::mutex mutex_;boost::condition_variable condition_;public:explicit sema....
分类:其他好文   时间:2014-07-01 22:03:34    阅读次数:474
AUTOTRACE
17:46:15 HR@ datacenter>set autotrace onlyUsage: SET AUTOT[RACE] {OFF | ON | TRACE[ONLY]} [EXP[LAIN]] [STAT[ISTICS]]17:47:36 HR@ datacenter>set autot ...
分类:其他好文   时间:2014-07-01 20:16:34    阅读次数:253
Oracle并行查询出错
1、错误描述 ORA-12801: 并行查询服务器P007中发出错误信号 ORA-01722:无效数字 12801.00000 -"error signaled in parallel query server %s" *Cause: A parallel query server reached an exception condition. *Action: Check the follow...
分类:数据库   时间:2014-07-01 06:22:10    阅读次数:391
hdu 4123 Bob’s Race (树的直径相关+rmq+单调队列思想)
Bob’s Race Time Limit: 5000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2115    Accepted Submission(s): 658 Problem Description Bob wants to hol...
分类:其他好文   时间:2014-06-30 07:37:16    阅读次数:284
LeetCode Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" is no...
分类:其他好文   时间:2014-06-27 10:36:41    阅读次数:183
[源码]Condition的原理,简单案例(ArrayBlockingQueue),复杂案例(LinkedBlockingQueue).
Re'entrantLock lock = new ReentrantLock(fair);   Condition   notEmpty = lock.newCondition(); //返回内部类 AbstractQueuedSyncronizer.ConditionObject    各自维护了两个队列.一个是阻塞同步队列 syncQueue 双向队列,一个是条件等待队列....
分类:数据库   时间:2014-06-27 09:10:37    阅读次数:505
C++11中的mutex, lock,condition variable实现分析
本文分析的是llvm libc++的实现:http://libcxx.llvm.org/ C++11中的各种mutex, lock对象,实际上都是对posix的mutex,condition的封装。不过里面也有很多细节值得学习。 std::mutex 先来看下std::mutex: 包增了一个pthread_mutex_t __m_,很简单,每个函数该干嘛就干嘛。 class mutex...
分类:编程语言   时间:2014-06-25 19:22:54    阅读次数:338
LeetCode:Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric  characters and ignoring cases. For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" i...
分类:其他好文   时间:2014-06-24 18:16:02    阅读次数:147
LeetCode: Valid Palindrome [125]
【题目】 Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" is not a palindrome. Note: Have you consider that the string m...
分类:其他好文   时间:2014-06-24 15:35:07    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!