/// <summary> /// Block the current thread until it can safely modify the user interface. /// </summary> public static void Lock() { Gmsh_Warp.GmshFltkLock(ref Gmsh._staticreff); Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle); }