[Opensim-dev] Nasty exception in Scene.cs
Sean Dague
sean at dague.net
Tue Dec 11 12:32:40 UTC 2007
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.
-Sean
--
__________________________________________________________________
Sean Dague Mid-Hudson Valley
sean at dague dot net Linux Users Group
http://dague.net http://mhvlug.org
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20071211/2eba0ad6/attachment-0001.pgp>
More information about the Opensim-dev
mailing list