shimmeringbee / zstack

Implementation of a ZNP and support code designed to interface with Texas Instruments Z-Stack, written in Go.

Home Page:https://shimmeringbee.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node Table can be accessed by two different Go routines

pwood opened this issue · comments

While the network manager owns the NodeTable, it's also used by a Go routine in node_receive_message.go. As such it's possible for a concurrent read/write. A read/write lock might be appropriate here.