Fix potential deadlock

This commit is contained in:
loki
2019-12-08 23:31:37 +01:00
parent eb57c35ffc
commit 75d17a3d59
2 changed files with 22 additions and 52 deletions
+1
View File
@@ -11,6 +11,7 @@ struct config_t {
};
using packet_t = util::buffer_t<std::uint8_t>;
using packet_queue_t = std::shared_ptr<safe::queue_t<packet_t>>;
void capture(std::shared_ptr<safe::queue_t<packet_t>> packets, config_t config);
}