/* mask must never be zero, except for A20 change call */void cpu_interrupt(CPUState *env, int mask){。。。/* FIXME: This is probably not threadsafe. A different thread couldbe in the middle of a read-modify-write operation. */env->interrupt_request |= mask;#if defined(USE_NPTL)/* FIXME: TB unchaining isn't SMP safe. For now just ignore theproblem and hope the cpu will stop of its own accord. For userspaceemulation this often isn't actually as bad as it sounds. Oftensignals are used primarily to interrupt blocking syscalls. */#else。。。}
2009年1月19日月曜日
cpu_interrpt() is probably not threadsafe.
う~む。
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿