Skip to content

Commit 86eec40

Browse files
committed
comment
1 parent c9f6d57 commit 86eec40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/exec.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,10 @@ fetch_exec_next_insn(const uint8_t *p, struct cell *stack,
779779
int
780780
check_interrupt(struct exec_context *ctx)
781781
{
782+
/*
783+
* theoretically we probably need a memory barrier.
784+
* practically it shouldn't be a problem though.
785+
*/
782786
if (ctx->intrp != NULL && *ctx->intrp != 0) {
783787
xlog_trace("get interrupt");
784788
return trap_with_id(ctx, TRAP_VOLUNTARY_THREAD_EXIT,

0 commit comments

Comments
 (0)