|
TransportInstThreadPerConnection Property
|
Enable or disable the thread per connection send
strategy. By default, this option is disabled (false).
Namespace:
OpenDDSharp.OpenDDS.DCPS
Assembly:
OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax public bool ThreadPerConnection { get; set; }
Public Property ThreadPerConnection As Boolean
Get
Set
public:
property bool ThreadPerConnection {
bool get ();
void set (bool value);
}
member ThreadPerConnection : bool with get, set
Property Value
Type:
BooleanRemarks
Enabling the ThreadPerConnection option will increase performance when writing to
multiple data readers on diferent process as long as the overhead of thread context
switching does not outweigh the benefts of parallel writes.This balance of network
performance to context switching overhead is best determined by experimenting. If a
machine has multiple network cards, it may improve performance by creating a transport
for each network card.
See Also