[debugger] Add locking around tls->frames usage/freeing (#6456)
commit6a8795f9d7e32490fa8421f1f5a88a77ee201f95
authorAlexander Kyte <alexmkyte@gmail.com>
Tue, 22 May 2018 19:43:30 +0000 (22 15:43 -0400)
committerBernhard Urban <bernhard.urban@xamarin.com>
Tue, 22 May 2018 19:43:30 +0000 (22 21:43 +0200)
treeee71aa39f380d8d6c8a3a6948e8800623330ff07
parent6c6c52958f9ffeb9f9f0e3e93a9282362653e908
[debugger] Add locking around tls->frames usage/freeing (#6456)

* [debugger] Add locking around tls->frames usage/freeing

* [debugger] more locking and avoid race around mono_threads_join_lock & loader lock
mono/mini/debugger-agent.c