-
C++编写的内存管理源代码,适合定制自己内存池的程序员参考。...
C++编写的内存管理源代码,适合定制自己内存池的程序员参考。-C++ Prepared memory management source code, customize their own memory pool for the programmer
- 2022-01-24 17:28:43下载
- 积分:1
-
CuRT_嵌入式操作系统源码
一款基于C语言开发的嵌入式操作系统源码,使用方便,效率高。为开源的非实时操作系统(经改良后也能用于实时系统)。免费又好用,用得很广。稳定性很强常用于服务器等对稳定性有较高要求的场所。因为稳定性比较好,图形界面又很炫所以常用于智能手机等消费电子领域。
- 2022-03-06 20:45:58下载
- 积分:1
-
操作系统兔子吃草
#include "stdafx.h"
#include
#include
#include
/*信号量的定义,它是负责协调各个线程, 以保证它们能够正确、合理的使用公共资源。 用于控制进程间的同步与互斥*/
typedef HANDLE Semaphore;
Semaphore g_semBuffer,g_semGlass, g_mutex; //mutex 为互斥锁
// 利用 Windows 下的 API 函数(视窗操作系统应用程序接口)来定义 P、V 操作
#define P(S) WaitForSingleObject(S,INFINITE)
#define V(S) ReleaseSemaphore(S,1,NULL)
#define rate 1000
#define CONSUMER_NUM 4 // 消费者个数
#define PRODUCER_NUM 4 // 生产者个数
#define BUFFER_NUM 4 // 缓冲区个数
char *thing[4]={"glass1","glass2","glass3","glass4"};
//公共的队列缓冲区
struct Buffer
{
int product[BUFFER_NUM];
int front,rear;
}g_buf;
//兔子线程
DWORD WINAPI Rabbit(LPVOID para)
{
int i =*(int*)para; //第 i 只小白兔&
- 2022-05-23 06:18:02下载
- 积分:1
-
SQLite quesry,电话,浏览器,iPhone的WebView和分段控制的例子
SQLite Quesry, Call, Browser, WebView and Segment Control Example for iPhone
- 2022-03-18 16:32:53下载
- 积分:1
-
这是一个操作系统(计算机科学课程)的设计。它的功能…
这是一个操作系统(计算机系课程)的课程设计。它的功能是模拟文件管理,包括建立用户,建立文件并对文件设置属性.还包括对文件的添加,修改,删除等操作-This is an operating system (computer science courses) are designed. Its function is simulated document management, including the establishment of users, document also set up document attributes. The document also includes the addition, modification, deletion, etc
- 2022-02-04 05:04:46下载
- 积分:1
-
模拟操作系统的存储过程
模拟操作系统的存储过程-simulation of the operating system stored procedure
- 2022-06-17 10:55:22下载
- 积分:1
-
2410 Embedded Development System linux core source code
2410 嵌入式开发系统 linux核心源代码-2410 Embedded Development System linux core source code
- 2022-06-15 13:03:11下载
- 积分:1
-
一个微型操作系统源码。抛砖引玉,希望有更多的国人开发和共享操作系统源码。...
一个微型操作系统源码。抛砖引玉,希望有更多的国人开发和共享操作系统源码。-a micro-source operating system. Comment hope more people development and sharing of the operating system source code.
- 2022-02-16 02:59:04下载
- 积分:1
-
操作系统进程管理与调度 ,包括管理与调度的代码,并附有相关程序。...
操作系统进程管理与调度 ,包括管理与调度的代码,并附有相关程序。-Operating system process management and scheduling, including the management and scheduling of the code, along with related procedures.
- 2022-11-25 11:20:02下载
- 积分:1
-
编程计算磁盘上(或某一目录下)所有文件的平均长度。 编程计算磁盘上(或某一目录及其各级子目录)每目录的平均文件个数。...
编程计算磁盘上(或某一目录下)所有文件的平均长度。 编程计算磁盘上(或某一目录及其各级子目录)每目录的平均文件个数。-programming calculated on the disk (or a directory) all the average length of documents. Programming calculated on the disk (or levels of a directory and its subdirectories), the average per-directory document number.
- 2022-03-22 18:55:05下载
- 积分:1