
操作系统
帐前卒
有道云笔记Server端码农。勤于专研算法架构等诡异的计算机知识。
展开
-
银行家算法
#includeiostream>using namespace std;int **allocate,*total,**need,*require;int num_process,num_resource;bool isDeadLock(int c=0);bool findFinish();void printALL(int**b_allocate,int** b_need,int*原创 2006-04-24 20:14:00 · 2071 阅读 · 0 评论 -
LRU算法
//LRU algorithm//author:chillyCreator//in the page_information, the bigger number means the newer page.//if the number in the page_information is -1, it means no page is in this position. #includeusin原创 2006-04-27 17:12:00 · 1618 阅读 · 0 评论 -
cpu优先级调度算法和时间片算法模拟程序
//System Shedule Algorithm//include the Priority First Algorithm and the Time Slice Algorithm//Version 2.0//author:chillyCreator#include#include#includeusing namespace std; class process{priv转载 2006-07-26 09:14:00 · 3981 阅读 · 0 评论 -
vc++多线程编程
vc++中的多线程编程:HANDLE hMutex; // Create a mutex with no initial owner. 必须要创建一个句柄hMutex = CreateMutex( NULL, // no security attributes FALSE, // initially not owned "Mut原创 2007-04-01 14:51:00 · 2020 阅读 · 0 评论 -
装机体验
从我用计算机开始,算来一共装过两三次系统。一直以来靠备份还原度日。终于最近不行了。蜗牛没有备份资料,只好重装,开始的时候只是在清理各种软件,然后使用PQ Magic分区。然后PQ提示重启..结果就发生了boot.ini missing。因为多年没有装机,所以没有把安装盘带回家,只好现在网上下,然后再刻录为光盘。结果nero的刻录软件老是出问题,不能识别或者说burn error还有bu原创 2009-01-30 09:37:00 · 1070 阅读 · 0 评论