tcg: Clarify thread safety check in tb_add_jump()
commit9962c478b153a18fe88a6509fe58cd178aff8abc
authorSergey Fedorov <serge.fdrv@gmail.com>
Wed, 20 Apr 2016 20:15:09 +0000 (20 23:15 +0300)
committerRichard Henderson <rth@twiddle.net>
Fri, 13 May 2016 00:06:41 +0000 (12 14:06 -1000)
tree6304135446f912a0e3ec622c96455e38c5f2d600
parent901bc3deb43bf37c85e43955905d003be7ae5fa5
tcg: Clarify thread safety check in tb_add_jump()

The check is to make sure that another thread hasn't already done the
same while we were outside of tb_lock. Mention this in a comment.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
include/exec/exec-all.h