Complete FreeBSD bringup
authorGeoff Norton <grompf@gmail.com>
Sun, 26 Apr 2015 22:32:22 +0000 (15:32 -0700)
committerGeoff Norton <grompf@gmail.com>
Sun, 26 Apr 2015 22:32:22 +0000 (15:32 -0700)
commit12656262569d4925aa480a3adb6685c56cb20c49
treefbf7031f581c4accf8a34158ce2a5b74d7a4c28b
parentfb91a041e174116074d21c6bd610eb1f8df71079
Complete FreeBSD bringup

Fixes issue #801 which was caused by the CoreCLR and PAL being
dlopened, but pthread not being initialized by the runtime linker yet.
FreeBSD requires that the main executable load pthread, rather than a
downstream dependency.  Also fixed a few missing calls to pthread_attr_init
which was causing asserts() on FBSD.
src/coreclr/hosts/unixcorerun/CMakeLists.txt
src/pal/src/thread/thread.cpp