Exemplo n.º 1
0
 public static void LogCodeToDB(string data, string input, string compiler_args, string result, int lang, bool is_api)
 {
     try
     {
         var job = new LogDBJob(data, input, compiler_args, result, lang, is_api);
         ThreadPool.QueueUserWorkItem(f => job.DoWork());
     }
     catch (Exception)
     { }
 }
Exemplo n.º 2
0
 public static void LogCodeToDB(string data, string result)
 {
     try
     {
         var job = new LogDBJob(data, result);
         System.Threading.Thread worker = new System.Threading.Thread(job.DoWork);
         worker.Start();
     }
     catch (Exception)
     { }
 }
Exemplo n.º 3
0
 public static void LogCodeToDB(string data, string result)
 {
     try
     {
         var job = new LogDBJob(data, result);
         System.Threading.Thread worker = new System.Threading.Thread(job.DoWork);
         worker.Start();
     }
     catch (Exception)
     { }
 }