You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6
Original file line number
Diff line number
Diff line change
@@ -263,3 +263,9 @@ an array of tuples as value in response to `select`. So, in order to
263
263
successfully decode them, we should pass an array of tuples to decoder - that's
264
264
why `std::vector<UserTuple>` is needed. If decoding was successful, `results`
265
265
will contain all decoded `UserTuples`.
266
+
267
+
## Multi-Threading Model
268
+
269
+
A `Connector` object and all its instances of `Connection` objects must be used in a single thread. For multi-threaded usage, create one or several `Connector` instances for each thread. Each `Connection` object must be used only with the `Connector` object that it was created from.
270
+
271
+
If custom `Buffer` or `NetProvider` implementations are used for `Connector` objects, the custom implementations must not share any state (e.g., `static` fields).
0 commit comments