码迷,mamicode.com
首页 >  
搜索关键字:enq tx - row lock co    ( 21443个结果
MySql 查询数据库中所有表名
查询数据库中所有表名select table_name from information_schema.tables where table_schema='csdb' and table_type='base table';查询指定数据库中指定表的所有字段名column_nameselect co...
分类:数据库   时间:2014-09-27 12:30:39    阅读次数:174
POJ 2391 Ombrophobic Bovines 不喜欢雨的奶牛 Floyd+二分枚举+最大流
题目链接:POJ 2391 Ombrophobic Bovines Ombrophobic Bovines Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 15006   Accepted: 3278 Description FJ's co...
分类:其他好文   时间:2014-09-27 11:49:19    阅读次数:225
c++
###指针和引用的区别1. 指针是一个变量,存储了指向数据的地址;引用只不过是原变量的别名,实质上跟原变量是一回事2. 指针可以多级,引用只能有一级3. 指针可以为NULL,引用不能为空,创建时就必须初始化4. 指针可以用const,但是引用没有const //应该改为指针可以有两层co...
分类:编程语言   时间:2014-09-27 03:33:09    阅读次数:272
thread_20
#include #include #include #include pthread_cond_t cond;pthread_mutex_t mp; void *consumer1(void *p) { pthread_mutex_lock(&mp); ...
分类:其他好文   时间:2014-09-27 02:10:19    阅读次数:235
thread_22
#include #include #include #include pthread_cond_t cond;pthread_mutex_t mp; void *consumer1(void *p) { pthread_mutex_lock(&mp); ...
分类:其他好文   时间:2014-09-27 01:40:18    阅读次数:263
thread_19
#include #include #include #include pthread_mutex_t mu;void *consumer1(void *p){ if(!pthread_mutex_lock(&mu)) printf("get mutex...
分类:其他好文   时间:2014-09-27 01:03:49    阅读次数:201
Vim文本编辑器 常用指令大全 提升编程效率必备法宝之一
经常处理文本以及经常需要写代码的人,都会有自己比较常用的编辑器,本人喜欢用Vim,理由就是Vim编辑器灵活,并且可以达到纯键盘操作,使用纯熟情况下,根本不需要鼠标操作,听起来是不是很酷的?不过别高兴太早,想达到那个境界必须的指令是需要学习+记忆+练习的。总结指令如下: 1、(motion) fx 向后 移动到搜索字母上,x 可以是任意一个字母 tx 向后 移到搜索字母的左边 (这...
分类:其他好文   时间:2014-09-26 21:02:18    阅读次数:202
程序代码记Log
private static object s_lock = new object(); public static void TraceLog(string message, string logFileName, string logPath = null) { ...
分类:其他好文   时间:2014-09-26 20:25:18    阅读次数:161
Spring配置文件详解 – applicationContext.xml文件路径
Spring配置文件详解 – applicationContext.xml文件路径Java编程 spring的配置文件applicationContext.xml的默认地址在WEB-INF下,只要在web.xml中加入代码12345org.springframework.web.context.Co...
分类:移动开发   时间:2014-09-26 18:24:48    阅读次数:249
K9F2G08 nandflash 底层读写、控制驱动程序,可随机读写
/****************************************************************************** Copyright (C), 2001-2011, DCN Co., Ltd. *****************************....
分类:其他好文   时间:2014-09-26 18:01:18    阅读次数:1304
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!