Hi Folks,
I have some questions regarding the B&S assignment - I'ld appreciate it if anyone who has had similar concerns could let me know what they think...
1.When a customer books a contractor, how is the preformed? Should I update the owner field in the data file?
2.If so, why does the documentation of the databse schema state "The system you are writing does not interact with these numbers, rather it simply records them"
3.The Locking section of the instructions also states - "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. Any attempt to lock a resource that is already locked should cause the current
thread to give up the CPU, consuming no CPU cycles until the desired resource becomes available."
Does this mean I don't have to protect the data file from concurrent access?
4. Once a contractor is booked, how are they "unbooked"? Has anyone introduced the notion of booking a contractor for a period of time?
I realise that I could be asking stuff that's probably covered elsewhere on the forum, and If so I apologise but Icouldn't see anything that clarified the above issues for me.
Thanks,
Christy.