[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] [bug] in SerialPort
- To: sc-dev@xxxxxxxxxxxxxxxx
- Subject: [sc-dev] [bug] in SerialPort
- From: nescivi <nescivi@xxxxxxxxx>
- Date: Sat, 20 Dec 2008 00:03:38 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=sKHkK7W1PisEtNEoIdksm+U9vHnZYxzqEQnqWSq9aqc=; b=CmZk3HT3xIQd1VfNt8ERHBMOucl1q/LI8odSnPfWmgIVL9QU0wqB6hVoXzSlrhjEct SwNVKXJ3hDfYruAxsaCBDFLRFsjt/mSs8xAbu5h+K6mQIcQtYOg2jRIN5YBWY8q4GivL ZW0jYdvmUG7Mj0SpGxnbnkSmP2ya4VTyo1n38=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=xXnn13rlhpVhY/Qa/uSSB0I3w2QY51T1RTWEWzL52xccOrezjQlGuMvo/zXlczkH+S NygN1miMtD0ONEo/A/C0C5TRKFW/GvTUTvToD9F7l8bWdJoEIZpM8bN3ABpiyXGl1ur7 lret0gJPNGkldAgz/u1JwHO1w1yXIMUhhG01s=
- List-id: SuperCollider developers mailing list <sc-devel.create.ucsb.edu>
- Reply-to: sc-dev@xxxxxxxxxxxxxxxx
- Sender: owner-sc-dev@xxxxxxxxxxxxxxxx
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/