Change mono_class_from_generic_parameter to use the image lock.
commit4fe5a46e550f7080c0ba56c40718fd6dda736367
authorRodrigo Kumpera <kumpera@gmail.com>
Mon, 27 Oct 2014 05:33:06 +0000 (26 22:33 -0700)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 12 Nov 2014 16:29:06 +0000 (12 11:29 -0500)
tree675e41816ae2c2f1d75b3cab6a3f6dcc0e38608d
parent532420cc6402ce1cc9a209044b56092b45c155c5
Change mono_class_from_generic_parameter to use the image lock.

We change the function to use the lock/validate pattern. This is both
more scalable and enables us to use the image lock, since the amount of
work done with it held is now trivial.
mono/metadata/class.c