On Mon, 18 Jan 2010, Roman Chyla wrote:
> the link for [archive] at http://cdsware.cern.ch/invenio/lists.html
> does not work -- specifically, it tells me access denied (even if I
> joined the group);

Maybe you subscribed with your gmail.com address, but are trying to read
archives with your cern.ch address?

> I would also like to share the cache among threads (for read
> operations), and only lock it when there is need for update, do you
> think this would be OK?

IIRC it should be okay to lock only write operations.  But Javier was
doing more tests in this direction.

FWIW, instead of your thread.allocate_lock(), we have been using
threading.Lock(), see the code snippet example in
<https://twiki.cern.ch/twiki/bin/view/CDS/InvenioScalability#3_4_Using_threads>.

Best regards
-- 
Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to