[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Antbear-devel] Architecture questions
From: |
Thorsten Schemm |
Subject: |
Re: [Antbear-devel] Architecture questions |
Date: |
12 Nov 2002 02:29:36 +0100 |
> Are we planning on making this multi-threaded? I think
> it will start to get complicated, especially with
> controlling mutual exclusive access to the databases.
Just to comment on the mutal-exclusive access: I do not see a problem
here. If we wrap the database into a separate class with well defined
accessor methods, all we need to do is declaring all(*) those methods
'synchronized' and we are done.
Since I do not think that those methods will be called excessively there
should not be a performance problem caused by the synchronization
overhead.
(*) at least the methods that could interfear with each other.
- Thorsten