Archived

This forum has been archived. Please start a new discussion on GitHub.

IceUtil::Mutex for C#

As I was converting my old C++ Ice implementation to C#, I stumbled upon a surprise. IceUtil::Mutex isn't implemented fro C#! :eek:

This was a really handy class since I dont have to worry about thread safety. Besides, my primary use of Ice is for data transport protocol. I basically just send an SQL statement from a client and the DB Server would respond with the result. For both directions, I'm just using a byte array to transfer commands and data.

Am I just missing something? Thanks for any help.

:D

Comments

  • Just like Java, but unlike C++, C# has built-in threading support, therefore no thread utilities are required. Just use the native C# mutexes.