K
Ken Overton
Or should I say, when I have data members that can be read from multiple
threads, should I put a lock around read-only access to those members in
addition to the write-accesses of those members? What if a reader attempts
to read the data while the writer is in the midst of writing to it?
Thanks,
-- kov
threads, should I put a lock around read-only access to those members in
addition to the write-accesses of those members? What if a reader attempts
to read the data while the writer is in the midst of writing to it?
Thanks,
-- kov