04 2015 档案

摘要:读者/写者问题读者进程:只读数据区中的数据写者进程:只往数据区中写数据要求满足条件:允许多个读者同时执行读操作不允许多个写者同时操作不允许读者、写者同时操作 阅读全文
posted @ 2015-04-30 18:28 xiulug 阅读(187) 评论(0) 推荐(0) 编辑
摘要:进程互斥的软解决方案Dekker Peterson 阅读全文
posted @ 2015-04-30 18:00 xiulug 阅读(150) 评论(0) 推荐(0) 编辑
摘要:今天登陆MIT的网站看一篇文章,在进入到页面的时候,网页就会自动跳转到wpkg.org这个网页,查了下据说是DNS被污染了,暂时还是不是很清楚,先把问题解决了。方法:在C:\WINDOWS\system32\drivers\etc\hosts文件中添加下面一行127.0.0.1 wpkg.org在手... 阅读全文
posted @ 2015-04-27 19:18 xiulug 阅读(286) 评论(0) 推荐(0) 编辑
摘要:Description:Count the number of prime numbers less than a non-negative number,nHint:The number n could be in the order of 100,000 to 5,000,000.#define... 阅读全文
posted @ 2015-04-27 18:24 xiulug 阅读(345) 评论(0) 推荐(0) 编辑
摘要:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ... 阅读全文
posted @ 2015-04-27 17:33 xiulug 阅读(140) 评论(0) 推荐(0) 编辑
摘要:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu... 阅读全文
posted @ 2015-04-27 17:30 xiulug 编辑
摘要:在UNIX/LINUX当中是不存在libsocket的。传说中,socket的功能库是放在libc当中的,所以如果需要连接的话修改成-lc就可以了。 阅读全文
posted @ 2015-04-26 20:36 xiulug 阅读(412) 评论(0) 推荐(0) 编辑
摘要:1、使用QQ电脑管家或者360的,一般都有小工具。2、管理注册表█以WindowsXP(SP2)为例,有些右键菜单中的选项你并不常用,或者有些软件已被删除,但其仍然占据着右键菜单。要删除这些无用的右键菜单项,操作步骤如下:●运行regedit打开注册表编辑器。●展开[HKEY_CLASSES_ROO... 阅读全文
posted @ 2015-04-13 21:40 xiulug 阅读(389) 评论(0) 推荐(0) 编辑
摘要:以前一直在用statdict,突然发现了一个好用的东西Goldendict.转载丁香园上一篇文章:http://www.dxy.cn/bbs/topic/20455142Goldendict话说国内的lingoes一直以来是我的最爱,然而几次升级之后,出现强制升级和广告的问题实在让人恼火,加上词库是... 阅读全文
posted @ 2015-04-11 17:34 xiulug 阅读(5861) 评论(0) 推荐(1) 编辑
摘要:csh@csh-laptop:~/ejabberd-15.03$ sudo apt-get install mysqlReading package lists... DoneBuilding dependency tree Reading state information... Do... 阅读全文
posted @ 2015-04-09 00:36 xiulug 阅读(621) 评论(0) 推荐(0) 编辑
摘要:YOUR ERLANG COMMUNITY SITEWelcome to erlangcentral.org, the Erlang community site where you can read news and weblogs related to Erlang/OTP, discuss p... 阅读全文
posted @ 2015-04-08 20:50 xiulug 阅读(348) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示