forked from espressif/esp-protocols
components/mdns: use semaphore instead of task notification bits (IDFGH-9380)
Component should not alter the task notification bits of the calling task.
This commit is contained in:
1 parent
e00e056162
commit
73f2800b59
2 files changed
+12
-4
No files matched your search
@@ -380,6 +380,7 @@ typedef struct mdns_server_s {
|
||||
mdns_srv_item_t *services;
|
||||
SemaphoreHandle_t lock;
|
||||
QueueHandle_t action_queue;
|
||||
SemaphoreHandle_t action_sema;
|
||||
mdns_tx_packet_t *tx_queue_head;
|
||||
mdns_search_once_t *search_once;
|
||||
esp_timer_handle_t timer_handle;
|
||||
@@ -390,7 +391,6 @@ typedef struct {
|
||||
union {
|
||||
struct {
|
||||
char *hostname;
|
||||
TaskHandle_t calling_task;
|
||||
} hostname_set;
|
||||
char *instance;
|
||||
struct {
|
||||
|
||||
Reference in new issue
Block a user