-
在同一个进程地址空间内执行的两个线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。当生产者...
在同一个进程地址空间内执行的两个线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。当生产者线程生产物品时,如果没有空缓冲区可用,那么生产者线程必须等待消费者线程释放出一个空缓冲区。当消费者线程消费物品时,如果没有满的缓冲区,那么消费者线程将被阻塞,直到新的物品被生产出来。-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
-
这是一个摩托罗拉e680的游戏qt源程序
这是一个摩托罗拉e680的游戏qt源程序-this is resource of program of e680
- 2022-07-19 19:56:09下载
- 积分:1
-
avi player 使用Linux下 GDK,GTK
avi player 使用Linux下 GDK,GTK-avi player Use Linux your GDK, GTK
- 2022-06-28 03:03:03下载
- 积分:1
-
SST芯片SST39VF6401/SST39VF6402的底层驱动源代码,C语言,有需要的下,我找的好辛苦,这年头这些东西都不好找了...
SST芯片SST39VF6401/SST39VF6402的底层驱动源代码,C语言,有需要的下,我找的好辛苦,这年头这些东西都不好找了-SST chip SST39VF6401/SST39VF6402 the bottom of driver source code, C language, are in need, I find very hard for all these things this year不好找the
- 2022-03-22 23:02:19下载
- 积分:1
-
CSL是一种编程语言,与C语法和综合图书馆。COM…
CSL is a programming language with C syntax and comprehensive libraries. The compact scripting engine can also be embedded into your own applications as a powerful macro language. Windows Distribution utilities.
- 2022-02-04 08:39:51下载
- 积分:1
-
C graphical interface development and embedded programming, is a powerful c...
C++图形界面开发与嵌入式编程,是一个强大的c++函数库,是C++进阶好资料-C graphical interface development and embedded programming, is a powerful c function library is a C Advanced good information
- 2022-02-07 18:00:23下载
- 积分:1
-
linux系统下一个简单的聊天程序,主要用socket和select实现的
linux系统下一个简单的聊天程序,主要用socket和select实现的-linux system a simple chat program, the main achievement of the socket and select
- 2022-08-05 12:43:08下载
- 积分:1
-
这是一个运行良好的类unix环境下的支持http 1.1 的网络文件下载器...
这是一个运行良好的类unix环境下的支持http 1.1 的网络文件下载器-This is a well-functioning type of unix environment to support http 1.1 download network file browser
- 2022-07-04 18:05:18下载
- 积分:1
-
用Socket实现的客户端send 、receive测试
用Socket实现的客户端send 、receive测试-Socket client send, receive test
- 2023-02-11 06:25:03下载
- 积分:1
-
一个用C++实现的模拟UNIX的cat的程序,使用了STL的istreambuf_iterator,支持“...
一个用C++实现的模拟UNIX的cat的程序,使用了STL的istreambuf_iterator,支持“-”,终端直接输出,文件输出和错误输出。-C to achieve a simulated UNIX cat procedures, the use of the STL istreambuf_iterator support "-", a direct output terminals, document output and the output error.
- 2022-02-15 12:48:35下载
- 积分:1