wpilibsuite / allwpilib

Official Repository of WPILibJ and WPILibC
https://wpilib.org/
Other
1.05k stars 612 forks source link

Document that entry listeners run on a separate thread #3965

Closed calcmogul closed 1 year ago

calcmogul commented 2 years ago

Entry listener callbacks run on the ntcore thread, so users should be made aware they need to do their own locking.

Starlight220 commented 1 year ago

@PeterJohnson is this resolved with NT4?

PeterJohnson commented 1 year ago

No, we need to add a comment to that effect to the ValueListener and TopicListener classes.