• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basic locking question

 
Aruna Raghavan
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I just started to work on this assignment. The database provided is a file. So, doesn't the file need to be locked every time some thing is written to it? I don't see where in the Data class it keeps track of record objects. I am confused about how locking an individual record would help when the object that is holding the data that needs to be protected is in a file?
Thanks in advance for any help.
Aruna.
 
Aruna Raghavan
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply. I will avoid posting twice in the future.
 
John Lee
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are welcome!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic