[Opensim-dev] Nasty exception in Scene.cs
dirk husemann
hud at zurich.ibm.com
Tue Dec 11 12:32:05 UTC 2007
Sean Dague wrote:
> On Tue, Dec 11, 2007 at 04:06:13PM +0800, Adam Frisby wrote:
>
>> Modules & Plugins will need access to this.
>>
>> Maybe we can make a self-locking property to replace it.
>>
>> Rename Entities to m_entities, then make:
>>
>> List<Entity> Entities {
>> get {
>> lock(m_entities) {
>> return m_entities;
>> }
>> }
>> }
>>
>
> Unless I'm missing some C# special sauce, that isn't going to help. By
> the time you get around to modifying it, it isn't locked any more, as
> you've returned out of the block.
>
exactly.
dirk
--
dr dirk husemann, pervasive computing, ibm zurich research lab
--- hud at zurich.ibm.com --- +41 44 724 8573 --- SL: dr scofield
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20071211/5fb02bd0/attachment-0001.html>
More information about the Opensim-dev
mailing list