- 博客(7)
- 收藏
- 关注
原创 2222222
printf("第%d个打印任务是%s,大小为%f,优先级为%d",i,que->top().getName().c_str(),que->top().getSize(),que->top().getPriority());cout << "正在打印" << task.getName() << "的内容," << "大小为" << task.getSize() << "KB" << endl;cout << "打印耗时" << (t2 - t1) / 1000 << "s"<< endl;
2023-12-01 20:00:09
386
1
原创 111111
printf("第%d个打印任务是%s,大小为%f,优先级为%d",i,printQueue.top().getName().c_str(),printQueue.top().getSize(),printQueue.top().getPriority());cout << "正在打印" << task.getName() << "的内容," << "大小为" << task.getSize() << "KB" << endl;perror("P operate error,其他进程未唤醒");
2023-12-01 17:11:06
373
1
原创 pthread
public:int left;int right;Section(){i < SIZE;++i) {return;++left;--right;break;else++left;++i) {} else {i < SIZE;++i) {++j) {++i) {} else {if (status!= 0) {return -1;merge();
2023-11-22 22:53:21
42
原创 shell
/如果还对原串操作,就传入NULL。printf("执行失败,shell退出");printf("没有此目录");//子进程能够运行到这里说明替换失败。if(res > 0)//等待成功。//export实现。
2023-11-17 14:49:47
64
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人