This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[StructLayout(LayoutKind.Explicit)] | |
internal struct ObjectWrapper { | |
[FieldOffset(0)] object obj; | |
[FieldOffset(0)] IntPtr handle; | |
internal static IntPtr Convert (object obj) { | |
ObjectWrapper wrapper = new ObjectWrapper (); | |
wrapper.obj = obj; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Net; | |
namespace ConsoleApplication1 { | |
class Class1 { | |
static void Main () | |
{ | |
HttpListener l = new HttpListener (); | |
//l.Prefixes.Add ("https://*:9667/"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2011-09-19 20:15:43.239 Sample[70450:1ac03] [218, 0] obj 0xb142360 [0x72bd2a0] MonoTouch.UIKit:UIControlEventProxy RC 1 | |
2011-09-19 20:15:43.239 Sample[70450:1ac03] [218, 1] obj 0xb142b30 [0x72c0970] MonoTouch.UIKit:UIControlEventProxy RC 1 | |
2011-09-19 20:15:43.240 Sample[70450:1ac03] [218, 2] obj 0xb142b58 [0x72c2220] MonoTouch.UIKit:UIControlEventProxy RC 1 | |
2011-09-19 20:15:43.240 Sample[70450:1ac03] [218, 3] obj 0xf903d78 [0x72bfd50] MonoTouch.UIKit:UITextField RC 3 | |
2011-09-19 20:15:43.241 Sample[70450:1ac03] [218, 4] obj 0xf903ee0 [0x72c1580] MonoTouch.UIKit:UITextField RC 3 | |
2011-09-19 20:15:43.242 Sample[70450:1ac03] [218, 5] obj 0xf903f58 [0x8ca3e00] MonoTouch.UIKit:UITableView RC 2 | |
2011-09-19 20:15:43.242 Sample[70450:1ac03] [218, 6] obj 0xb143fa8 [0x72b8880] :SizingSource RC 1 | |
2011-09-19 20:15:43.243 Sample[70450:1ac03] [218, 7] obj 0x7716060 [0x72bced0] MonoTouch.UIKit:UISwitch RC 3 | |
2011-09-19 20:15:43.243 Sample[70450:1ac03] [218, 8] obj 0x777bb30 [0x90dc160] MonoTouch.Dialog:DialogViewContro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Threading; | |
namespace RWLockSlimTest | |
{ | |
class MainClass | |
{ | |
public static void Main(string[] args) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Threading; | |
namespace RWLockSlimTest | |
{ | |
class MainClass | |
{ | |
/* On MS this method prints: | |
(1) RR 0/False RU 0/False RW 0/False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mono/metadata/sgen-os-posix.c b/mono/metadata/sgen-os-posix.c | |
index 0a0c4f1..874b039 100644 | |
--- a/mono/metadata/sgen-os-posix.c | |
+++ b/mono/metadata/sgen-os-posix.c | |
@@ -127,6 +127,7 @@ suspend_handler (int sig, siginfo_t *siginfo, void *context) | |
int old_errno = errno; | |
info = mono_thread_info_current (); | |
+ printf ("THREAD %p got suspend signal info %p\n", (gpointer)pthread_self (), info); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test Case Failures: | |
1) MonoTests.System.Linq.ParallelEnumerableTests.TakeTestCase : System.InvalidOperationException : The event is already set | |
at System.Threading.CountdownEvent.Signal (Int32 signalCount) [0x00047] in /Users/kumpera/src/mono/mcs/class/corlib/System.Threading/CountdownEvent.cs:95 | |
at System.Threading.CountdownEvent.Signal () [0x00000] in /Users/kumpera/src/mono/mcs/class/corlib/System.Threading/CountdownEvent.cs:75 | |
at System.Linq.Parallel.OrderingEnumerator`1+SlotBucket[System.Int32].Skim () [0x00064] in /Users/kumpera/src/mono/mcs/class/System.Core/System.Linq.Parallel/OrderingEnumerator.cs:110 | |
at System.Linq.Parallel.OrderingEnumerator`1+SlotBucket[System.Int32].Wait () [0x00024] in /Users/kumpera/src/mono/mcs/class/System.Core/System.Linq.Parallel/OrderingEnumerator.cs:130 | |
at System.Linq.Parallel.OrderingEnumerator`1[System.Int32].MoveNext () [0x00029] in /Users/kumpera/src/mono/mcs/class/System.Core/System.Linq.Parallel/OrderingEnumerator.cs:180 | |
at System.Linq.Parallel.ParallelQueryEnumera |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
E/AndroidRuntime(10725): FATAL EXCEPTION: main | |
E/AndroidRuntime(10725): java.lang.RuntimeException: Unable to get provider mono.MonoRuntimeProvider: java.lang.RuntimeException: Unable to find application Mono.Android.DebugRuntime or Mono.Android.Platform.ApiLevel_10! | |
E/AndroidRuntime(10725): at android.app.ActivityThread.installProvider(ActivityThread.java:3888) | |
E/AndroidRuntime(10725): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3640) | |
E/AndroidRuntime(10725): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3596) | |
E/AndroidRuntime(10725): at android.app.ActivityThread.access$2200(ActivityThread.java:124) | |
E/AndroidRuntime(10725): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1042) | |
E/AndroidRuntime(10725): at android.os.Handler.dispatchMessage(Handler.java:99) | |
E/AndroidRuntime(10725): at android.os.Looper.loop(Looper.java:132) | |
E/AndroidRuntime(10725): at android.app.ActivityThread.main(ActivityThread.java:4030) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading; | |
class Driver { | |
static void Main () { | |
var timer = new Timer (o => Console.WriteLine ("o2"), null, new TimeSpan (1042, 0, 0, 0), new TimeSpan (0,0,1)); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__asm ( | |
"#include <sys/linux-syscalls.h>" | |
" .text" | |
" .type sigaltstack, #function" | |
" .globl sigaltstack" | |
" .align 4" | |
" .fnstart" | |
"sigaltstack:" | |
" .save {r4, r7}" | |
" stmfd sp!, {r4, r7}" |