+ip change

This commit is contained in:
jeka committed 2026-03-25 18:39:31 +03:00
1 parent ec2a075f79
commit ceb6ee2103
4 files changed
+47 -10

No files matched your search

+4 -7
View File
@@ -318,8 +318,8 @@ int queue_data_put(struct ll_queue* q, struct ll_entry* entry, uint32_t id) {
q->callback(q, q->callback_arg);
}
// Проверить ожидающие коллбэки
check_waiters(q);
// Проверить ожидающие коллбэки (надо только при заборе из очереди)
// check_waiters(q);
#ifdef QUEUE_DEBUG
queue_check_consistency(q);// !!!! for debug - AFTER callback
@@ -371,11 +371,7 @@ int queue_data_put_first(struct ll_queue* q, struct ll_entry* entry, uint32_t id
}
// Проверить ожидающие коллбэки
check_waiters(q);
#ifdef QUEUE_DEBUG
queue_check_consistency(q);// !!!! for debug - AFTER callback
#endif
// check_waiters(q);
#ifdef QUEUE_DEBUG
queue_check_consistency(q);// !!!! for debug
@@ -548,5 +544,6 @@ int queue_remove_data(struct ll_queue* q, struct ll_entry* entry) {
#ifdef QUEUE_DEBUG
queue_check_consistency(q);// !!!! for debug
#endif
check_waiters(q);
return 0;
}