ebony.soft
10/8/2008 9:18:00 AM
Dear all
Hi
As you know constructor is a member function with several missions and
one of them is "acquiring a resource" and in the same token destructor
"releases the resource". Usually after such descriptions, It is said,
the resource is like memory, file, lock, semaphore, ... As a matter of
fact, resource isn't confined to memory and constructor/destructor do
more than just memory management. I reviewed most of the major books
and papers about C++, but I can't find good examples of untrivial
resource management like lock, semaphore.
would you please make some examples for untrivial resource management.
Do you know the systems/codes/papers that describe such things?
Regards
Saeed Amrollahi