diff options
author | Christopher Faylor <me@cgf.cx> | 2014-03-17 04:41:35 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2014-03-17 04:41:35 +0000 |
commit | 4f0b5a097da2464a8d5120ccc64bf9cf24ddd890 (patch) | |
tree | fb20ca6ab06b28a3f7197d63158bb91efcaaf43f /libgloss/sparc_leon/kernel_thread.c | |
parent | 600afd99abacfd836b41930c6bc5e014bc5d94e3 (diff) | |
download | cygnal-4f0b5a097da2464a8d5120ccc64bf9cf24ddd890.tar.gz cygnal-4f0b5a097da2464a8d5120ccc64bf9cf24ddd890.tar.bz2 cygnal-4f0b5a097da2464a8d5120ccc64bf9cf24ddd890.zip |
* sigproc.h (no_thread_exit_protect): New class.
* sigproc.cc (thread_exit): Use no_thread_exit_protect to determine if we need
to coordinate ThreadExit/ExitProcess.
* fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Use
no_thread_exit_protect to kludge around waiting for waveOutClose as it waits
for a thread that never exits.
(fhandler_dev_dsp::Audio_in::stop): Ditto for waveInClose.
* fhandler.h (fhandler_dev_dsp::base): New method.
(fhandler_dev_dsp::_read): Ditto.
(fhandler_dev_dsp::_write): Ditto.
(fhandler_dev_dsp::_ioctl): Ditto.
(fhandler_dev_dsp::_fixup_after_fork): Ditto.
(fhandler_dev_dsp::_fixup_after_exec): Ditto.
* fhandler_dsp.cc (fhandler_dev_dsp::read): Call real function via base()
pointer.
(fhandler_dev_dsp::write): Ditto.
(fhandler_dev_dsp::ioctl): Ditto.
(fhandler_dev_dsp::fixup_after_fork): Ditto.
(fhandler_dev_dsp::fixup_after_exec): Ditto.
(fhandler_dev_dsp::_read): Rename by adding an leading underscore.
(fhandler_dev_dsp::_write): Ditto.
(fhandler_dev_dsp::_ioctl): Ditto.
(fhandler_dev_dsp::_fixup_after_fork): Ditto.
(fhandler_dev_dsp::_fixup_after_exec): Ditto.
Diffstat (limited to 'libgloss/sparc_leon/kernel_thread.c')
0 files changed, 0 insertions, 0 deletions