Is FastMapper safe to call from multiple threads?

Sep 22, 2014 at 5:07 AM
Edited Sep 22, 2014 at 7:04 AM
Hi,

I'm considering adding FastMapper to an MVC-based web project, and noticing that FastMapper uses some static objects for internal cache, etc. Is this code thread-safe, allowing an IIS worker process with many threads to make simultaneous calls? Or might there be a problem in that scenario?

** EDIT ** I see this line in the TypeAdapter.cs code, so hopefully that answers my question in the affirmative:
lock (_cache)