[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Threads in Octave
From: |
John W. Eaton |
Subject: |
Threads in Octave |
Date: |
Mon, 26 Mar 2001 20:12:30 -0600 |
On 26-Mar-2001, Przemek Klosowski <address@hidden> wrote:
| The same code implemented as Octave extension (Octave 2.1.33) runs,
| but the main process doesn't seem to return the correct thread ID from
| pthread_self(). Furthermore, we seem to have problems with thread
| synchronization (cut out from the above source), which we suspect are
| caused by confusion within the thread system.
I'm not sure why your simple example is failing. It seems to work for
me on a Debian system. However, if your more complicated example
calls back to Octave, I wouldn't expect it to work, since the Octave
interpreter and libraries were definitely not designed to be thread
safe.
jwe
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------