Ejemplo n.º 1
0
    static int Main()
    {
        SimpleReadWriteThreadStaticTest.Run(42, "SimpleReadWriteThreadStatic");
        ThreadStaticsTestWithTasks.Run();
        if (FinalizeTest.Run() != Pass)
        {
            return(Fail);
        }

        return(Pass);
    }
Ejemplo n.º 2
0
    static int Main()
    {
        SimpleReadWriteThreadStaticTest.Run(42, "SimpleReadWriteThreadStatic");

        // TODO: After issue https://github.com/dotnet/corert/issues/2695 is fixed, move FinalizeTest to run at the end
        if (FinalizeTest.Run() != Pass)
        {
            return(Fail);
        }

        ThreadStaticsTestWithTasks.Run();

        if (ThreadTest.Run() != Pass)
        {
            return(Fail);
        }

        return(Pass);
    }