Skip to content

Commit

Permalink
AMQP Adaptor: remove improper lock annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
kgiusti committed Apr 16, 2024
1 parent e7e92d7 commit 05a5576
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/adaptors/amqp/container.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ struct qd_container_t {
const qd_node_type_t *ntype;
sys_mutex_t lock;
// KAG: todo move to amqp_adaptor
qd_link_list_t links TA_GUARDED(lock);
qd_link_list_t links;
};


Expand Down
2 changes: 1 addition & 1 deletion src/adaptors/amqp/private.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ struct amqp_adaptor_t {
qdr_protocol_adaptor_t *adaptor;
qd_container_t *container;
sys_mutex_t lock;
qd_connection_list_t conn_list TA_GUARDED(lock);
qd_connection_list_t conn_list;
};

extern amqp_adaptor_t amqp_adaptor;
Expand Down

0 comments on commit 05a5576

Please sign in to comment.