BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Which threading model? REMY?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX)
View previous topic :: View next topic  
Author Message
Marcus P.
Guest





PostPosted: Thu Jan 08, 2004 5:21 pm    Post subject: Which threading model? REMY? Reply with quote



Hi,

I am creating a DCOM server which will be accessed by numerous clients
across a network. The DCOM server object(s) created by the clients will be
accessing a shared file on the server machine. Client accesses to the server
will be brief but frequent and numerous.

I understand that the server needs to synchronize access to this file, but I
am not sure of which is the best threading model to choose for my server.

I think I should use one of either the: Free, Both or Neutral model.

Can you offer any advice?

Thank you
Marcus.


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Thu Jan 08, 2004 6:34 pm    Post subject: Re: Which threading model? REMY? Reply with quote




"Marcus P." <382 (AT) noway (DOT) com> wrote


Quote:
I understand that the server needs to synchronize access to this file,
but I am not sure of which is the best threading model to choose for
my server.

I would suggest using Free threading, and then protect all access to the
file using a critical section or mutex.


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.