生产者 - 消费者使用分配 [英] producer-consumer using assignment

查看:115
本文介绍了生产者 - 消费者使用分配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果有多个产品和多个消费者在不使用赋值的情况下解决,即使用函数式编程,我有兴趣了解生产者 - 消费者问题吗?如何?

I am interested in finding if producer-consumer problem when there are multiple produce and multiple consumer be solved without using assignment i.e., using functional style of programming? How?

生产者 - 消费者问题

感谢

推荐答案

相当不错的消息传递在并发ML 。不要被系统的时代拖延; John Reppy的图书和文章是该主题的绝佳指南。美丽的东西!

Yes, you can do it quite nicely with message passing in Concurrent ML. Don't be put off by the age of the system; John Reppy's book and papers are excellent guides to the topic. Beautiful stuff!

这篇关于生产者 - 消费者使用分配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆