Skip to content

Commit

Permalink
Let the ubf_async_safe member of struct rb_vm_struct be a bit flag as…
Browse files Browse the repository at this point in the history
… well
  • Loading branch information
methodmissing authored and hsbt committed Sep 20, 2024
1 parent 2230ac4 commit 9e8b89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ typedef struct rb_vm_struct {
struct ccan_list_head waiting_fds; /* <=> struct waiting_fd */

/* set in single-threaded processes only: */
volatile int ubf_async_safe;
volatile unsigned int ubf_async_safe: 1;

unsigned int running: 1;
unsigned int thread_abort_on_exception: 1;
Expand Down

0 comments on commit 9e8b89e

Please sign in to comment.