ralfw/NPantaRhei — pull request #6 by kuniss (2013-10-07 15:58:15+00:00)
Title: Compiling with Mono

Hi Ralf
I tried to compile NPantaRhei's code under Mono (2.10.8.1) which shows some compile errors I corrected. The code changes do not change the semantic as far as I can assess. And they should still compile under VS. However, I havn't tested.

Unfortunately, 4 unit tests fail. Here is the test output from the failed test runs:
npantarhei.runtime.npantarhei.runtime.tests.npantarhei.runtime.tests.integration.test_causality_handling.Causality_exception_messages_bypasses_other_pending_messages wird ausgeführt...
npantarhei.runtime.npantarhei.runtime.tests.npantarhei.runtime.tests.integration.test_FlowRuntime.High_prio_exception_message_terminates_runtime wird ausgeführt...
npantarhei.runtime.npantarhei.runtime.tests.npantarhei.runtime.tests.integration.test_FlowRuntime.Output_with_fan_out wird ausgeführt...
npantarhei.runtime.npantarhei.runtime.tests.npantarhei.runtime.tests.integration.test_Serialize.Run_on_separate_thread wird ausgeführt...
serNop0: x0 on 68
serNop0: x1 on 68
serNop0: x2 on 68
serNop0: x3 on 68
serNop0: x4 on 68
serNop1: x0 on 66
serNop1: x1 on 68
serNop1: x2 on 66
serNop1: x3 on 68
res x0 on 70
res x1 on 70
res x2 on 70
res x3 on 70
serNop1: x4 on 66
res x4 on 70

The last two does not fail every time, so it seems to be an concurrency problem; especially not if they run standalone. Therefore it may still be a real problem in the CLR too ...
The first two, I guess, were not caused by the code change but by a slightly different semantic between mono and CLR in handling exceptions.

I will try to analyze it when I find time...