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 IdentityInserter. Its only database operation is to update OwnIdentities insert date. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20081104/1ee8defa/attachment.pgp>
