XmlSchemaSet Thread Safety

Posted by: XmlTeams WebLog, on 27 Apr 2009 | View original | Bookmarked: 0 time(s)

Here's a good word of warning: even if an object "feels" read-only because you're not calling code to modify it, if it's not documented as safe for use from multiple threads, then you shouldn't risk it. As an example, lets look at XmlSchema and XmlSchemaSet. Initializing these has a cost associated with it, and so it's nice to be able to build them once and then reuse them. But you have to be very careful in doing this. The docs say that all instance methods are not safe for multiple thread usage,...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: XSD | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1681 | Hits: 59

Similar Posts

  • TIP: How To Generate a Fully Qualified URL in ASP.NET (E.g., http://www.yourserver.com/folder/file.aspx) more
  • 8 techniques to find problems in your unit tests within 30 seconds more
  • Rendezvous Thread synchronization more
  • Turing Project: Level 100, 300 AND 400 more
  • WCF Proxy Generator - Significant Updates more
  • Timers in Silverlight 2.0 and Multithreaded Silverlight. more
  • Troubleshooting an Intermittent .NET High CPU problem more
  • Wcf configuration - InstanceContextMode and ConcurrencyMode more
  • Parallelising Loops in .NET 4 more
  • Best of "The Moth" 2008 more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD