mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-06 01:42:53 +03:00
client-coap.c: Fix client spin loop for NO_SYS == 0
Do not call coap_free_context() from within sigint handler. Always call coap_io_process(). Use sys_arch_sem_wait() for timeouts while waiting for input.
This commit is contained in:
1 parent
f4094636ab
commit
bd32823746
6 files changed
+62
-8
No files matched your search
@@ -218,6 +218,8 @@ void coap_packet_get_memmapped(coap_packet_t *packet,
|
||||
|
||||
#ifdef WITH_LWIP
|
||||
void coap_io_process_timeout(void *arg);
|
||||
void coap_io_lwip_init(void);
|
||||
void coap_io_lwip_cleanup(void);
|
||||
#endif
|
||||
|
||||
struct coap_packet_t {
|
||||
|
||||
Reference in new issue
Block a user