Wrox Programmer Forums
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 25th, 2005, 02:06 PM
Registered User
 
Join Date: Nov 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Threading

Is there any way to make certain methods atomic to avoid race conditions?

 
Old April 27th, 2005, 04:21 AM
Authorized User
 
Join Date: May 2004
Posts: 83
Thanks: 0
Thanked 1 Time in 1 Post
Default

What's it exactly that you want to acheive?

If you want to ensure every client gets a response from the server without waiting for another client to finish with the server, one option is to use .NET remoting. By using .NET remoting with a Client Activated Object, you're sure each of your clients gets a copy of the server object specific to her. Be warned, however, that Client Activated Objects are not just the most flexible objects but also utilize the most resources.

Hopefully it helps. If it's not what you want please try to be a bit clear.

Regards,


ejan





Similar Threads
Thread Thread Starter Forum Replies Last Post
threading swifty_programmer ASP.NET 2.0 Basics 12 May 19th, 2007 06:10 AM
threading bschleusner C# 2005 2 April 12th, 2007 08:40 AM
Multi-threading issue Bill Crawley Pro Visual Basic 2005 0 March 21st, 2007 06:19 AM
multi threading [email protected] BOOK: ASP.NET Website Programming Problem-Design-Solution 1 February 26th, 2007 11:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.