-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Locking: Remove locking initialization from coap_new_context()
- Loading branch information
Showing
1 changed file
with
0 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -585,7 +585,6 @@ coap_new_context(const coap_address_t *listen_addr) { | |
} | ||
memset(c, 0, sizeof(coap_context_t)); | ||
|
||
coap_lock_init(); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mrdeep1
Author
Collaborator
|
||
coap_lock_lock(c, coap_free_type(COAP_CONTEXT, c); return NULL); | ||
#ifdef COAP_EPOLL_SUPPORT | ||
c->epfd = epoll_create1(0); | ||
|
@mrdeep1 why this locking initialization is removed?
with earlier code was there any impact on coap server restart?