localizations: #1771 Spanish translation and languages codes (#1777)

* #1771 Move translations to a new directory to have more organization

* #1771 spanish translation

* #1771 change the language codes to follow ISO 639-1 and change the links

* #1771 remove country flags
This commit is contained in:
Juan Manuel Abate
2021-06-04 20:36:42 +02:00
committed by GitHub
parent 5e434b783e
commit 784cdee819
67 changed files with 319 additions and 6 deletions

View File

@ -0,0 +1,22 @@
---
layout: pattern
title: Producer Consumer
folder: producer-consumer
permalink: /patterns/producer-consumer/zh
categories: Concurrency
language: zh
tags:
- Reactive
---
## 目的
生产者消费者设计模式是一种经典的并发模式,通过将工作与执行工作任务分开来减少生产者与消费者之间的耦合。
## 类图
![alt text](../../producer-consumer/etc/producer-consumer.png "Producer Consumer")
## 适用性
在以下情况下使用生产者消费者
* 通过将工作分成生产和消费两个工作进程来解耦系统
* 解决生产工作和消费工作需要不同时间的问题