how to iterate data iterating reader-writer lock make a copy decision

To Lock or not to Lock?

Submitted by Eus
on April 26, 2010 - 7:30am

A basic problem that I encountered when I started to developed a stand-alone application involving the use of a DB, which is Service Publishing AP's service_list, as opposed to a web application is to decide whether I should employ locking or copying when using an iterator to iterate, for example, a shared linked list or a shared DB.