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.

Attachment: pgpN34jvAvR2v.pgp
Description: PGP signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to