Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -2121,7 +2121,7 @@ case "$host" in
sgen_supported=true
AOT_SUPPORTED="yes"
;;
darwin*|openbsd*)
darwin*|openbsd*|freebsd*)
sgen_supported=true
;;
esac
Expand All @@ -2136,7 +2136,7 @@ case "$host" in
sgen_supported=true
AOT_SUPPORTED="yes"
;;
darwin*|openbsd*)
darwin*|openbsd*|freebsd*)
sgen_supported=true
;;
esac
Expand Down
2 changes: 1 addition & 1 deletion mcs/class/Mono.WebBrowser/build-csproj2k5
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#
# This script will generate SWF.cs.target from our System.Windows.Forms.dll.sources
#
Expand Down
5 changes: 5 additions & 0 deletions mono/metadata/appdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -2427,6 +2427,11 @@ mono_domain_try_unload (MonoDomain *domain, MonoObject **exc)
/* The icall wrapper will execute the abort */
CloseHandle (thread_handle);
return;
} else if (mono_thread_internal_has_appdomain_ref (mono_thread_internal_current (), domain) && !(mono_thread_interruption_requested ())) {
if (!domain->friendly_name) {
CloseHandle (thread_handle);
return;
}
}
}
CloseHandle (thread_handle);
Expand Down
2 changes: 1 addition & 1 deletion mono/metadata/sgen-gc.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ struct _GCMemSection {

typedef struct _SgenPinnedChunk SgenPinnedChunk;

#if defined(__APPLE__) || defined(__OpenBSD__)
#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__)
const static int suspend_signal_num = SIGXFSZ;
#else
const static int suspend_signal_num = SIGPWR;
Expand Down