[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] [bug] in SerialPort



Hiho,

I just wanted to mention that I just came across a bug in SerialPort,
probably related to not closing a port correctly before reopening it
or maybe losing the port (disconnecting the hardware) and not cleaning
up when this happens.
This results in the cpu usage of sclang going to a 100%.

This happens at least on Linux, and I will be looking into it,
sometime after today.
It may be solved by a check if the devicenode is still there and
closing it if it is not (I did a similar fix a while ago for LID), if
that is the case, then I'll also add a hook for a closeAction.

sincerely,
Marije

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/