码迷,mamicode.com
首页 >  
搜索关键字:latch free    ( 5558个结果
malloc without free, what happens?
It's per-process. Once your process exits, the allocated memory is returned to the OS for use by other processes (new or existing).To answer your edit...
分类:移动开发   时间:2014-09-16 07:03:00    阅读次数:142
关于内存泄露
1.new,malloc后没有delete,free这些内存在Debug时候都可以Dump出信息的2.创建内核对象(比如CreateFile,CreateMutex,CreateThread),后没有释放内核对象句柄.3.创建内存映射文件,CreateFileMapping,MapViewOfFil...
分类:其他好文   时间:2014-09-15 21:05:39    阅读次数:190
操作系统设计之锁的实现
1.以中断启用和中断禁止来实现锁/*闭锁的第一个操作是禁止中断,这是一个硬件原子操作。然后判断value是否等于FREE,如果是,就表明这个资源没有被其他进程占用,我们就将其设置为忙,然后开中断。如果value不等于FREE,那么我们循环等待value变为FREE,循环过程中,不断的开中..
分类:其他好文   时间:2014-09-15 19:45:39    阅读次数:242
破解Zephyr for JIRA on Atlassian Jira
[Download] Crack + Keygen Zephyr for JIRA on Atlassian Jira all versions BY?CHUNGKOL PHAM?- IN?DOWNLOAD?- ON 3/24/2014?-?9 COMMENTS? Atlassian?Zephyr for JIRA?isn‘t free application:?Use...
分类:其他好文   时间:2014-09-15 17:59:49    阅读次数:1912
zoj 1520 - Duty Free Shop
题目:Pedro买了两块不同牌子的巧克力,他找到了一些小盒子,他准备把巧克力分开,放在小盒子里送给朋友;           为了不被朋友发现自己是为了省钱,每个小盒子中只能放相同牌子的巧克力,求分法。 分析:dp,01背包。           这里每个小盒子作为物品,其中第一块巧克力作为箱子,记录每个箱子的前驱(路径);           然后,枚举所有的第一块巧克力的可分状态,判断...
分类:其他好文   时间:2014-09-14 18:06:27    阅读次数:258
序列化 opencv :: Mat
//cvmat_serialization.h #include #include using namespace cv; BOOST_SERIALIZATION_SPLIT_FREE(::cv::Mat) namespace boost { namespace serialization { /** Serialization support for cv::Mat */ ...
分类:其他好文   时间:2014-09-12 20:46:44    阅读次数:359
A Fast, Simple, Typed ORM for .NET
Join the ServiceStack Google+ group?or follow?@servicestack?for updates. A Fast, Simple, Typed ORM for .NET OrmLite‘s goal is to provide a convenient, DRY, config-free, RDBMS-agnostic typed wra...
分类:Web程序   时间:2014-09-12 17:28:04    阅读次数:422
一个数据类型不匹配引发的coredump“血案”
前段在开发中遇到了测试组报过来的程序coredump 问题,stack如下: (Linux X86-64位系统,RHEL6,隐去程序名字更名为APP)Stack: [0x0000000030074000,0x0000000030a75000], sp=0x0000000030a73830, free...
分类:其他好文   时间:2014-09-12 16:43:33    阅读次数:234
WAIT EVENT: latch: cache buffers chains
关于CACHE BUFFERS CHAINS描述 CACHE BUFFERS CHAINS latch is acquired when searching for data blocks cached in the buffer cache. Since the Buffer cache is implemented as a sum of chains...
分类:其他好文   时间:2014-09-10 14:13:40    阅读次数:345
redhat swap分区扩充
之前做过实验而未做记录,今天在生产坏境中再次遇到。现将整个操作过程记录如下,供以后参考使用:使用free-m查看现在swap的大小:[root@mcluster-alpha2-node2~]#free-mtotalusedfreesharedbufferscachedMem:48227478703560186228928-/+buffers/cache:1707931148Swap:59995138..
分类:其他好文   时间:2014-09-10 02:53:00    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!