Browse Source

[process] Add DBG2() messages to help track down frozen processes

tags/v0.9.6
Michael Brown 16 years ago
parent
commit
e6f276ece3
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/core/process.c

+ 2
- 0
src/core/process.c View File

@@ -79,7 +79,9 @@ void step ( void ) {
79 79
 	list_for_each_entry ( process, &run_queue, list ) {
80 80
 		list_del ( &process->list );
81 81
 		list_add_tail ( &process->list, &run_queue );
82
+		DBGC2 ( process, "PROCESS %p executing\n", process );
82 83
 		process->step ( process );
84
+		DBGC2 ( process, "PROCESS %p finished executing\n", process );
83 85
 		break;
84 86
 	}
85 87
 }

Loading…
Cancel
Save