讯息传递 [英] Message Passing

查看:72
本文介绍了讯息传递的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.
我目前正在开发一种编程语言.我的观点是探索多线程.我想我想使用C#中已经存在的线程.我一直在研究传递消息的方式,并希望使用它.我的问题是:

在C#线程中已经实现了消息传递,还是可以在侧面构建它们??

最好的问候.

Hi.
I''m currently developing a programming language. My point is to explore multi-threading. I think that i would like to use the already excisting threads in C#. I''ve been looking into messeage passing a bit, and would like to use that. My question is then:

Is messeage passing already implemented in the c# threads or can i build them on the side.?

Best regards.

推荐答案

您必须自己构建它.
看一下锁定操作以同步您的内存访问.
You''ll have to build it yourself.
Have a look the lock operations to synchronize your memory access.


这篇关于讯息传递的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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