• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A litter question !

 
Leo Tien
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the alone mode of URLyBird, whether I must implement multi thread?
If not, when I run more than one Client, and these Clients access same db file, what will I do?
Perhaps this is a stupid question, but it still confuse me, please help me! Thanks a lot!
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Leo,
Instructions:
You may assume that at any moment, at most one program is accessing the database file; therefore your locking system only needs to be concerned with multiple concurrent clients of your server.

It means that you don't need to care about multiple clients running in stand-alone mode and accessing the same file, neither about a stand-alone client accessing the same file as a running server.
Best,
Phil.
 
Leo Tien
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much, Philippe.
I forgot it, thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic