全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Bounded buffer?

Definition 15.12 University Computer Science — Year 2 · 第 15 章 — Threads and Synchronisation

A bounded buffer is a queue of at most NN items shared by producer threads, which add items, and consumer threads, which remove them; a producer waits while the buffer is full, and a consumer while it is empty.

在原文中阅读 →