c# - Is SqlGeometry.STUnion method thread safe? -


is sqlgeometry.stunion method thread safe in .net? msdn

decompiled body sql 11.0 assembly using justdecompile:

    [sqlmethod(isdeterministic=true, isprecise=false)]     public sqlgeometry stunion(sqlgeometry other)     {         if (this.isnull || other == null || other.isnull || this.srid != other.srid)         {             return sqlgeometry.null;         }         this.throwifinvalid();         other.throwifinvalid();         return sqlgeometry.construct(glnativemethods.union(this.geodata, other.geodata), this.srid);     } 

where sqlgeography.construct , glnativemethods.geodeticunion static methods, while others can't deadlocked anywhere. none of methods used modifying calling object, yes - it's thread safe.


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -