 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Marcus P. Guest
|
Posted: Thu Jan 08, 2004 5:21 pm Post subject: Which threading model? REMY? |
|
|
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
|
Posted: Thu Jan 08, 2004 6:34 pm Post subject: Re: Which threading model? REMY? |
|
|
"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 |
|
 |
|
|
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
|
|