Rldeckard / sshRunCMD

Used to run concurrent changes to Cisco network devices
1 stars 1 forks source link

Implement thread safe buffers for outputting switch code #11

Closed Rldeckard closed 1 year ago

Rldeckard commented 1 year ago

Need to wrap bytes.buffer in a locking struct per the forum below. Currently handled with a timeout to make sure the buffers stay seperate.

https://stackoverflow.com/questions/19646717/is-the-go-bytes-buffer-thread-safe