Rename progress_queue to transaction_progress_queue

master
Ryan Dwyer 7 years ago
parent 9b15e81cff
commit beacd4d9f9

@ -226,7 +226,7 @@ static void transaction_apply(struct sway_transaction *transaction) {
} }
} }
static void progress_queue() { static void transaction_progress_queue() {
struct sway_transaction *transaction = server.head_transaction; struct sway_transaction *transaction = server.head_transaction;
struct sway_transaction *next = NULL; struct sway_transaction *next = NULL;
while (transaction && !transaction->num_waiting) { while (transaction && !transaction->num_waiting) {
@ -243,7 +243,7 @@ static int handle_timeout(void *data) {
wlr_log(L_DEBUG, "Transaction %p timed out (%li waiting)", wlr_log(L_DEBUG, "Transaction %p timed out (%li waiting)",
transaction, transaction->num_waiting); transaction, transaction->num_waiting);
transaction->num_waiting = 0; transaction->num_waiting = 0;
progress_queue(); transaction_progress_queue();
return 0; return 0;
} }
@ -355,7 +355,7 @@ static void set_instruction_ready(
#if !TRANSACTION_DEBUG #if !TRANSACTION_DEBUG
wlr_log(L_DEBUG, "Transaction %p is ready", transaction); wlr_log(L_DEBUG, "Transaction %p is ready", transaction);
wl_event_source_timer_update(transaction->timer, 0); wl_event_source_timer_update(transaction->timer, 0);
progress_queue(); transaction_progress_queue();
#endif #endif
} }
} }

Loading…
Cancel
Save