W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 1996

Locking

From: <Joel.Crisp@bristol.ac.uk>
Date: Mon, 2 Dec 1996 12:50:25 +0000 (GMT)
Message-Id: <9612021237.AA16543@www.ets.bris.ac.uk>
To: www-jigsaw@w3.org

Hi

I must confess to being a bit confused as to when I should be locking
resources.

If I'm sub-classing FormResource to get a form with several cards, do I
need to lock the cards ? If I refer to other resources from those
cards, do I need to lock those resources ? If my FormResource-like
class implmements ResourceStoreHolder, do I need to lock resources
which might be stored/retrievable in the associated resource store ?
(ie. if my formCard uses a resource which can be pickled/unpickled from
my resource store do I need to lock it or can I just assume that it
will be put away and retrieved appropriately ? )

As a semi-connected aside, how long do FormResources hang around ? (and
their cards ?) Also, I notice that the editors create a new instance
for each resource edited - do I need to have a resource per user for
my IndexplusResource form thing ?

Any advice gratefully received 

Thanks

Joel
-- 
Joel.Crisp@bris.ac.uk | ets-webmaster@bris.ac.uk  | "I remember Babylon" -
Software Engineer, Institute of Learning and      |        Arthur C Clarke
Research Technology, University of Bristol, UK    |
http://www.ets.bris.ac.uk/                        |
Received on Monday, 2 December 1996 14:47:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT