[gnome-sudoku/multithread_printing] Remove all debug printf statements
- From: Parin Porecha <parinporecha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku/multithread_printing] Remove all debug printf statements
- Date: Mon, 18 Aug 2014 17:21:15 +0000 (UTC)
commit 90fb041477913f998cdb616c4a6dda9f1f8cbb7d
Author: Parin Porecha <parinporecha gmail com>
Date: Mon Aug 18 18:58:05 2014 +0200
Remove all debug printf statements
lib/sudoku-generator.vala | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/lib/sudoku-generator.vala b/lib/sudoku-generator.vala
index f098fad..cc663c2 100644
--- a/lib/sudoku-generator.vala
+++ b/lib/sudoku-generator.vala
@@ -36,8 +36,6 @@ public class SudokuGenerator : Object
var remainder = nboards % nthreads;
var nsudokus_per_thread = base_nsudokus_each;
- stdout.printf ("no. of threads = %d\n", nthreads);
-
for (var i = 0; i < nthreads; i++)
{
if (i > (nthreads - remainder - 1))
@@ -53,10 +51,8 @@ public class SudokuGenerator : Object
thread[i].join ();
}
- stdout.printf ("boards list size = %d\n", boards_list.size);
for (var i = 0; i < boards_list.size; i++)
boards[i] = boards_list[i];
-
return boards;
}
@@ -113,7 +109,6 @@ public class GeneratorThread : Object
public void* run ()
{
- stdout.printf ("generating %d puzzles\n", nsudokus);
for (var i = 0; i < nsudokus; i++)
boards_list.add (SudokuGenerator.generate_board (level));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]