-
在同一个进程地址空间内执行的两个线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。当生产者...
在同一个进程地址空间内执行的两个线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。当生产者线程生产物品时,如果没有空缓冲区可用,那么生产者线程必须等待消费者线程释放出一个空缓冲区。当消费者线程消费物品时,如果没有满的缓冲区,那么消费者线程将被阻塞,直到新的物品被生产出来。-In the same address space of a process implemented within the two threads. The producer thread production of goods, and then items placed in an empty buffer in the thread consumption for consumers. Consumer thread to acquire items from the buffer, and then release the buffer. When the producer thread is the production of goods, if there is no empty buffers are available, then the producer thread must wait for the Consumer thread to release an empty buffer. When a consumer thread consumer goods, if the buffer is not full, then the consumer thread will be blocked until the new items were produced.
- 2022-03-10 13:10:08下载
- 积分:1
-
linux下想使用turboc的人有福了,这里可以重新找回那种感觉,这样对学习linux的编程是一个比较方便的入口!...
linux下想使用turboc的人有福了,这里可以重新找回那种感觉,这样对学习linux的编程是一个比较方便的入口!-This is a good news for Linux users who like to use turboc. And you can not feel the difference and it is a good way to study programming under Linux.
- 2023-05-22 22:35:04下载
- 积分:1
-
PHPMailer Full Featured Email Transfer Class for PHP
PHPMailer Full Featured Email Transfer Class for PHP
- 2022-12-15 15:55:03下载
- 积分:1
-
由于这是本人近一年前初学vb时的作品,所以比较幼稚,适合初学者使用和练习。祝大家国庆快乐,合家欢乐,发财发财再发财...
由于这是本人近一年前初学vb时的作品,所以比较幼稚,适合初学者使用和练习。祝大家国庆快乐,合家欢乐,发财发财再发财-because this my almost a year ago when a vb the works, more naive, for beginners to use and practice. I wish you all a happy National Day, and family happiness, fortune fortune to get rich again
- 2022-03-22 05:50:34下载
- 积分:1
-
uClinux环境下MinuGUI的应用实例及简单介绍,列外还有Makefile文件,可在linux环境下编译运行。...
uClinux环境下MinuGUI的应用实例及简单介绍,列外还有Makefile文件,可在linux环境下编译运行。-uClinux environment MinuGUI of application examples and simple, there are those in Makefile document in the Linux operating environment compiler.
- 2022-11-16 12:05:03下载
- 积分:1
-
LUFS 是一个混合用户空间文件系统框架,支持不定数量的对用户透明的文件系统(localfs, sshfs, ftpfs, httpfs, socketfs,...
LUFS 是一个混合用户空间文件系统框架,支持不定数量的对用户透明的文件系统(localfs, sshfs, ftpfs, httpfs, socketfs, freenetfs, 和nutellafs)。它可以被看作和VFS(虚拟文件系统转换)完成同样的内核功能:它是一个转换器,分布文件系统调用到支持它的文件系统。然而,LUFS文件系统是在用户空间中实现的。-driver is a mixed user-space file system framework, support for variable amounts of transparent to users of File System (localfs, sshfs, ftpfs, httpfs, socketfs, freenetfs and nutellafs). It can be seen and VFS (virtual file system) completion of the same core functions : it is a converter, called Distributed File System to support its file system. However, the driver file system is the user space to achieve.
- 2023-07-26 19:50:03下载
- 积分:1
-
QT编程的资料, QT编程的资料
QT编程的资料, QT编程的资料-QT programming information, QT programming information, QT programming information
- 2023-01-14 14:15:04下载
- 积分:1
-
将需要公开的接口用一个句柄类封装起来,调用者只通过封装的句柄类来调用实现, 这样,将调用与实现隔离开来,或者说只让调用看到它所需要看到的接口。这样的话,只要 保...
将需要公开的接口用一个句柄类封装起来,调用者只通过封装的句柄类来调用实现, 这样,将调用与实现隔离开来,或者说只让调用看到它所需要看到的接口。这样的话,只要 保证接口不变,那么实现代码的中要添加一些变量,函数,将不会影响到调用者。-will require an open interface with a handle Packaging category, called only by the Packaging category to handle Call, which would call and to achieve separation, or call only need to see it to see the interface. So, as long as the guarantee the same interface, then the realization of the code necessary to add some variables, function and will not affect the person to call.
- 2022-01-24 12:47:47下载
- 积分:1
-
gui.c的 开发
gui.c的 开发-gui.c development
- 2022-01-25 15:18:07下载
- 积分:1
-
用标准C实现shell功能,这是我们上课的一个操作系统实验,不过我是用java实现的,这是我在网上找的,供大家参考...
用标准C实现shell功能,这是我们上课的一个操作系统实验,不过我是用java实现的,这是我在网上找的,供大家参考-achieved using standard C shell function, which is a class of experimental operating system, but I use java to achieve, and this is my find of the Internet for reference
- 2022-03-23 05:21:57下载
- 积分:1