On Tuesday 04 November 2008 18:21, Julien Cornuwel wrote:
> Matthew Toseland a ?crit :
> > On Tuesday 04 November 2008 09:15, Sam wrote:
> >>>> Modified:
> >>>>    trunk/plugins/WoT/IdentityFetcher.java
> >>>> Log:
> >>>> Add FIXME: I don't see any synchronization there, this 
> >>> won't work, will it?
> >>>
> >>> Where ?
> >> In the place where I added the FIXME. But actually there is no
> >> synchronization at all in the WoT plugin it seems. 
> 
> There is no FIXME in IdentityFetcher.java, hence my question.
> 
> >> But it's not a really big problem to add it I guess. I will
> >> probably do it when I add synchronization to FMS if it has not
> >> been done then yet.
> > 
> > Transactions may be an issue too. However, if every operation initiated by 
a 
> > client starts fresh and then does a commit, and there is a BFL protecting 
> > everything, it should work acceptably. Multiple database operations on 
> > different threads might be a problem.
> 
> There are only two threads :
> - The plugin itself that perform every requests and client interaction.

The FMS plugin you mean?

> - The IdentityInserter. Its only database operation is to update
> OwnIdentities insert date.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20081104/feedcd26/attachment.pgp>

Reply via email to