Re: [Qemu-devel] setjmp outside cpu loop

2012-01-31 Thread 陳韋任
On Sun, Jan 22, 2012 at 11:18:43AM -0500, Xin Tong wrote:
> There is a setjmp outside the cpu loop in qemu cpu-exec.c. it is used
> by longjmp later when a cpu exit request is given. I am wondering that
> can a cpu_loop_exit() be called when the tcg is doing the translation
> ?

  Do you mean if there is another thread calls cpu_loop_exit when TCG is
doing the translation?

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj



[Qemu-devel] setjmp outside cpu loop

2012-01-22 Thread Xin Tong
There is a setjmp outside the cpu loop in qemu cpu-exec.c. it is used
by longjmp later when a cpu exit request is given. I am wondering that
can a cpu_loop_exit() be called when the tcg is doing the translation
?

Thanks

Xin