摘要: 在整理Java LockSupport.park()东方的,我看到了"Spurious wakeup",通过重新梳理。首先,可以在《UNIX级别编程环境》在样本:#include struct msg { struct msg *m_next; /* ... more stuff here ... ... 阅读全文
posted @ 2015-10-09 21:21 zfyouxi 阅读(462) 评论(0) 推荐(0)
摘要: 于Linux Kernel(Android) 加密算法总结(cipher、compress、digest)文章中。介绍了怎样在内核中增加三种不同类型的内核加密算法, 并给出了在内核模块中怎样调用他们的实例。本文将主要介绍,怎样在应用程序空间中(user space) 调用内核空间(kernel sp... 阅读全文
posted @ 2015-10-09 20:05 zfyouxi 阅读(842) 评论(0) 推荐(1)
摘要: A Simple Problem with IntegersTime Limit: 5000MSMemory Limit: 131072KTotal Submissions: 55273Accepted: 16628Case Time Limit: 2000MSDescriptionYou have... 阅读全文
posted @ 2015-10-09 19:18 zfyouxi 阅读(235) 评论(0) 推荐(0)
摘要: # include # include # include using namespace std;struct node{ int t; int v; int yy;};struct node a[100010],b[100010];bool cmp(node a1,node a2){ if(a1... 阅读全文
posted @ 2015-10-09 18:11 zfyouxi 阅读(129) 评论(0) 推荐(0)