aboutsummaryrefslogtreecommitdiff
path: root/src/core/timer.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2023-11-25 17:35:35 -0800
committerGarrett D'Amore <garrett@damore.org>2023-11-25 17:47:02 -0800
commite623dedab28a1fec6270c05f9643e68bfb98b7c3 (patch)
tree2860475e583380771ac900c0d6417627efdcbd03 /src/core/timer.c
parente5fcc317c5f75d8fc6ea053c9f960e35e09ac38f (diff)
downloadnng-e623dedab28a1fec6270c05f9643e68bfb98b7c3.tar.gz
nng-e623dedab28a1fec6270c05f9643e68bfb98b7c3.tar.bz2
nng-e623dedab28a1fec6270c05f9643e68bfb98b7c3.zip
fixes #1523 rare SEGV in sub nni_list_remove
Credit goes to Wu Xuan (@willwu1217) for diagnosing and proposing a fix as part of #1695. This approach takes a revised approach to avoid adding extra memory, and it also is slightly faster as we do not need to update both pointers in the linked list, by reusing the reap node. As part of this a new internal API, nni_aio_completions, is introduced. In all likelihood we will be able to use this to solve some similar crashes in other areas of the code.
Diffstat (limited to 'src/core/timer.c')
0 files changed, 0 insertions, 0 deletions