
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I see no other option than to have another container of mutexes: one mutex per element. Is there anything else I can do?
With this solution the threading cannot be orthogonal. Or I'm missing something?
Not sure if this is of use to your particular problem but I've been doing some research recently on thread safe data structures, try searching on "concurrent data structures" in the ACM digital library if you have access. These may also be of interest http://portal.acm.org/citation.cfm?id=1074009&coll=ACM&dl=ACM&CFID=5188039&CFTOKEN=39368905&ret=1#Fulltext http://portal.acm.org/citation.cfm?id=99185&coll=ACM&dl=ACM&CFID=5188039&CFTOKEN=39368905&ret=1#Fulltext hth Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFbldhMXEGyZOBBLYRAvgxAJ0b9vI1r/oVCXVw9qQVoBt3+0PlZACgrP+C OJWMBHYxG/iJwSDQdVCAOTU= =0Nt2 -----END PGP SIGNATURE-----