浏览代码

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

tags/v0.9.6
Michael Brown 16 年前
父节点
当前提交
e6f276ece3
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/core/process.c

+ 2
- 0
src/core/process.c 查看文件

@@ -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
 }

正在加载...
取消
保存