[threads] switch to GC Safe around pthread calls in mono_thread_internal_set_priority...
commit8690d0aeb074e324231fb7c29e69f0fbdbe36738
authorAleksey Kliger (λgeek) <akliger@gmail.com>
Tue, 7 Aug 2018 14:47:15 +0000 (7 10:47 -0400)
committerGitHub <noreply@github.com>
Tue, 7 Aug 2018 14:47:15 +0000 (7 10:47 -0400)
tree16aa9856313ef61ba9880d97809e8950b610dfec
parent00f64d2998c36660cbc4dd848fe25d1a7343630a
[threads] switch to GC Safe around pthread calls in mono_thread_internal_set_priority (#9916)

* [threads] switch to GC Safe around pthread calls in mono_thread_internal_set_priority

   Observed pthread_getschedparam taking a lock on OSX

* [win32] Capture GetLastError before MONO_EXIT_GC_SAFE
mono/metadata/threads.c