Free library for interfacing hardware drivers to Modelica models. There is support for joysticks, keyboards, UDP, TCP/IP, LCM, MQTT, shared memory, AD/DA converters, serial port and other devices.
BSD 3-Clause "New" or "Revised" License
77
stars
31
forks
source link
Catch up on 'useRecvThread' option for clocked UDPReceive variant #342
The non-clocked 'UDPReceive' block has a parameter 'useRecvThread' which gives an option to either spawn a dedicated 'receive' thread (non-blocking) or use a system call which potentially blocks the simulation from progressing until fresh data is available. So far the clocked 'UDPReceive' block doesn't offer a similar option. It should be added.
The non-clocked 'UDPReceive' block has a parameter 'useRecvThread' which gives an option to either spawn a dedicated 'receive' thread (non-blocking) or use a system call which potentially blocks the simulation from progressing until fresh data is available. So far the clocked 'UDPReceive' block doesn't offer a similar option. It should be added.