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.Threading.Tasks; | |
using System.Web.Mvc; | |
namespace DeadlockExperiment.Controllers | |
{ | |
public class DeadlockController : Controller | |
{ | |
public ActionResult Index() | |
{ | |
AsyncMethod().Wait(); // Deadlock! |
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
import matplotlib.pyplot as plt | |
import random | |
import numpy as np | |
from scipy.optimize import curve_fit | |
INITIAL_BUGS = 50 | |
LINES_OF_CODE = 1000 | |
TESTERS = 5 | |
RUNS = 10 |
OlderNewer