lnls-dig / halcs

Hardware Abstraction Layer for Control Systems
GNU General Public License v3.0
1 stars 4 forks source link

[devio_core] Potential deadlock on zloops #125

Closed lerwys closed 7 years ago

lerwys commented 7 years ago

Problem: There is a potential deadlock on that the user sent a command to spawn a new SMIO, but the SMIO itself sends a message this loop. As the loop is synchronous, processing one message at a time, this will deadlock.

Solution: Separate the user task from the payload task with two actors