EpollEvent has to be one uint32 plus one int64, i.e. 12 bytes long. Manos libres now.
…condition is correct. It could cause a deadlock when a writer tested the rwlock value before RwRead was removed and another Upgradeable operation happened at the same time.
* AssemblyBuilder.cs (GetTypes): Raise ReflectionTypeLoadException if any type was not finished. * AssemblyBuilderTest.cs: Add test for GetTypes () and incomplete TypeBuilders'. Fixes #640288
Not only it didn't fix anything but it broke a test.
…ingHandler in Snow Leopard.
Why on earth this wasn't found earlier? $20 reward to whoever gives a plausible explanation.
* threads.c (mono_thread_suspend_all_other_threads): wait_data must not be malloc'd since it holds managed pointers. Alloc it on stack since the struct is about 512/1024 bytes long. * threads.c (mono_thread_manage): Ditto. * threads.c (mono_threads_request_thread_dump): Ditto.
…f the engine MONO_PATH does not work for subsequent dlls, so have to workaround it by using full path for dlls in 3.5 profile which does not have it's own mscorlib
This error was found by Gonzalo when he was looking at another problem when thread IDs overflowed ints. Currently we use gpointers in the io-layer for the threadid, but we were only exposing the value as an int32. The good news is that the code is not really used right now, but could cause problems in the future as we extend Process.
* Type.cs (GetTypeCodeImpl): If the type is a TypeBuilder call into specific code. * TypeBuilder.cs (GetTypeCodeInternal): New method that handles enums correctly. This change is required because calling into the runtime with incomplete TypeBuilders cause the runtime to crash.
…e framework. The embedding code looks at the executable name, and builds the embedding profile from that, however the default install has a /usr/bin/mono symlink pointing to /Library/Frameworks/Mono.framework. We now resolve the symlink before allowing the embedding code to proceed.
Ditto. This should fix MD problems when SHM is disabled.
…m and add corresponding unit test
…d update them accordingly in the different Enter/Exit methods