octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53774] instrument-control creates massive num


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #53774] instrument-control creates massive numbers of threads when reading
Date: Sun, 29 Apr 2018 08:15:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #2, bug #53774 (project octave):

ok running on my computer under gdb, when running instrument-control with the
following:


more off

a = serial('/dev/ttyS0', 9600, 1)

while (1)
  [x,c] = srl_read(a, 1000)
end


When running in octave 4.2.1, it does not create new threads.

In octave 4.9.92, running the same code, gdb is showing a new thread created
each time srl_read is called.

The current serial code sets a a signal handler before calling the os read of
the serial port, and then restores it, so updates on octaves set signal
handler must be doing something.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53774>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]