Previous
-
Next
threads::shared
Data is, by default, not shared between threads
But I needed to pass some information (IP address and port) from one thread to another
I used
threads::shared
to do so
Previous
-
Next