Click here to Skip to main content
15,898,747 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

1 solution

You'll have to build it yourself.
Have a look the lock operations to synchronize your memory access.
 
Share this answer
 
v2
Comments
Madsmir 5-May-10 8:51am    
Thanks for the reply. Where do i find documentation for synclock in c#? When i search MSDN Library on synclock is get the message that it is not supported in c#:

http://msdn.microsoft.com/en-us/library/3a86s51t.aspx
Michel Godfroid 5-May-10 8:55am    
My mistake, the C# syntax is lock http://msdn.microsoft.com/en-us/library/c5kehkcz(VS.71).aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900