Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-05-2006
amrufon's Avatar
amrufon amrufon is offline
Registered User
 
Name: Alex
Organization: IST
Project: jDatabase
 
Join Date: May 2003
Location: Manila, Philippines
Posts: 96
Send a message via Yahoo to amrufon
-->
Question 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#!

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.

__________________
Alex Rufon
jDatabase Development Team
jDatabase - a native database for the J programming language
Reply With Quote
  #2 (permalink)  
Old 09-05-2006
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
Just like Java, but unlike C++, C# has built-in threading support, therefore no thread utilities are required. Just use the native C# mutexes.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mutex.h : identifier not found shimrod Help Center 4 09-17-2005 10:13 PM
Feature request: Mutex classes stephan Comments 1 03-27-2005 04:25 PM
Bug in IceUtil::Thread kssreeram Help Center 1 04-22-2004 12:30 AM
IceUtil/CtrlCHandler.cpp vukicevic Bug Reports 3 05-28-2003 10:20 PM
SPARC mutex assembler: patches & new code fmccor Patches 0 03-07-2003 12:55 PM


All times are GMT -4. The time now is 11:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.