#include "arraylist.h"#include "bcsignals.inc"#include <pthread.h>#include <signal.h>

Go to the source code of this file.
Data Structures | |
| struct | bc_locktrace_t |
| class | BC_Signals |
Defines | |
| #define | TRON(x) BC_Signals::new_function(x); |
| #define | TROFF(x) BC_Signals::delete_function(x); |
| #define | ENABLE_TRACE |
| #define | TRACE_LOCKS |
| #define | TRACE_MEMORY |
| #define | TRACE(text) BC_Signals::new_trace(text); |
| #define | SET_TRACE BC_Signals::new_trace(__FILE__, __FUNCTION__, __LINE__); |
| #define | PRINT_TRACE { printf("%s: %d\n", __FILE__, __LINE__); fflush(stdout); } |
| #define | UNTRACE BC_Signals::delete_traces(); |
| #define | SET_LOCK(ptr, title, location) int table_id = BC_Signals::set_lock(ptr, title, location); |
| #define | SET_LOCK2 BC_Signals::set_lock2(table_id); |
| #define | UNSET_LOCK2 BC_Signals::unset_lock2(table_id); |
| #define | UNSET_LOCK(ptr) BC_Signals::unset_lock(ptr); |
| #define | UNSET_ALL_LOCKS(ptr) BC_Signals::unset_all_locks(ptr); |
| #define | ENABLE_BUFFER BC_Signals::enable_memory(); |
| #define | DISABLE_BUFFER BC_Signals::disable_memory(); |
| #define | BUFFER(size, ptr, location) BC_Signals::set_buffer(size, ptr, location); |
| #define | BUFFER2(ptr, location) BC_Signals::set_buffer(0, ptr, location); |
| #define | UNBUFFER(ptr) BC_Signals::unset_buffer(ptr); |
| #define | SET_TEMP BC_Signals::set_temp |
| #define | UNSET_TEMP BC_Signals::unset_temp |
| #define BUFFER | ( | size, | |||
| ptr, | |||||
| location | ) | BC_Signals::set_buffer(size, ptr, location); |
Definition at line 96 of file bcsignals.h.
| #define BUFFER2 | ( | ptr, | |||
| location | ) | BC_Signals::set_buffer(0, ptr, location); |
Definition at line 98 of file bcsignals.h.
| #define DISABLE_BUFFER BC_Signals::disable_memory(); |
| #define ENABLE_BUFFER BC_Signals::enable_memory(); |
Definition at line 93 of file bcsignals.h.
Referenced by MWindow::init_signals(), and MWindow::start().
| #define ENABLE_TRACE |
Definition at line 14 of file bcsignals.h.
| #define PRINT_TRACE { printf("%s: %d\n", __FILE__, __LINE__); fflush(stdout); } |
Definition at line 49 of file bcsignals.h.
| #define SET_LOCK | ( | ptr, | |||
| title, | |||||
| location | ) | int table_id = BC_Signals::set_lock(ptr, title, location); |
Definition at line 65 of file bcsignals.h.
Referenced by Sema::lock(), Mutex::lock(), Condition::lock(), BC_WindowBase::lock_window(), and Condition::timed_lock().
| #define SET_LOCK2 BC_Signals::set_lock2(table_id); |
Definition at line 67 of file bcsignals.h.
Referenced by Sema::lock(), Mutex::lock(), and BC_WindowBase::lock_window().
| #define SET_TEMP BC_Signals::set_temp |
| #define SET_TRACE BC_Signals::new_trace(__FILE__, __FUNCTION__, __LINE__); |
Definition at line 48 of file bcsignals.h.
Referenced by TrackCanvas::button_press_event(), CICacheItem::CICacheItem(), BC_Hash::copy_from(), EditPanel::create_buttons(), Canvas::create_canvas(), ParametricWindow::create_objects(), TipWindowGUI::create_objects(), RecordMonitor::create_objects(), PlaybackPrefs::create_objects(), MWindowGUI::create_objects(), MWindow::create_objects(), MainMenu::create_objects(), MainErrorGUI::create_objects(), ChannelEditPictureWindow::create_objects(), ChannelEditEditWindow::create_objects(), AWindowGUI::create_objects(), VFrame::create_pbuffer(), RecordMonitorCanvas::cursor_motion_event(), RecordMonitorGUI::cursor_motion_event(), VDevicePrefs::delete_objects(), MaskEngine::do_mask(), SUV::get_cwindow_sizes(), BlondTheme::get_cwindow_sizes(), BlueDotTheme::get_cwindow_sizes(), PreferencesCategory::handle_event(), PrefsRenderFarmNodes::handle_event(), ChromaKeyHSV::handle_opengl(), ChromaKey::handle_opengl(), MaskEngine::init_packages(), ChromaKey::load_defaults(), Record::load_defaults(), MWindow::load_filenames(), VFrame::make_shader(), FileSndFile::open_file(), FileMPEG::open_file(), MWindow::paste_edls(), ZoomBlurMain::process_buffer(), LiveVideo::process_buffer(), LiveAudio::process_buffer(), HistogramMain::process_buffer(), ChromaKey::process_buffer(), VRender::process_buffer(), MaskUnit::process_package(), VDeviceV4L::read_buffer(), FileMPEG::read_frame(), Record::Record(), HistogramMain::render_gui(), VRender::run(), RenderFarmClientThread::run(), RecordVideo::run(), RecordThread::run(), RecordMonitorThread::run(), Record::run(), ChannelEditPictureThread::run(), ChannelEditEditThread::run(), ChromaKey::save_defaults(), Record::save_defaults(), MainError::show_error_local(), RecordThread::stop_recording(), PreferencesThread::text_to_category(), FileMOV::~FileMOV(), MWindow::~MWindow(), and RecordThread::~RecordThread().
| #define TRACE | ( | text | ) | BC_Signals::new_trace(text); |
Definition at line 47 of file bcsignals.h.
Referenced by BatchRenderThread::handle_close_event(), VRender::insert_timecode(), FileOGG::open_file(), FileDV::open_file(), FileDV::read_frame(), PatchGUI::reposition(), FileDV::reset_parameters_derived(), RecordThread::run(), RecordAudio::run(), BatchRenderJob::save(), BRenderThread::send_command(), FileDV::write_samples(), BRender::~BRender(), and RecordGUI::~RecordGUI().
| #define TRACE_LOCKS |
Definition at line 15 of file bcsignals.h.
| #define TRACE_MEMORY |
Definition at line 19 of file bcsignals.h.
| #define TROFF | ( | x | ) | BC_Signals::delete_function(x); |
Definition at line 10 of file bcsignals.h.
| #define TRON | ( | x | ) | BC_Signals::new_function(x); |
Definition at line 9 of file bcsignals.h.
| #define UNBUFFER | ( | ptr | ) | BC_Signals::unset_buffer(ptr); |
Definition at line 100 of file bcsignals.h.
Referenced by VFrame::allocate_compressed_data(), and VFrame::clear_objects().
| #define UNSET_ALL_LOCKS | ( | ptr | ) | BC_Signals::unset_all_locks(ptr); |
Definition at line 77 of file bcsignals.h.
Referenced by Sema::reset(), Mutex::reset(), BC_WindowBase::~BC_WindowBase(), Condition::~Condition(), Mutex::~Mutex(), and Sema::~Sema().
| #define UNSET_LOCK | ( | ptr | ) | BC_Signals::unset_lock(ptr); |
Definition at line 74 of file bcsignals.h.
Referenced by Sema::unlock(), Mutex::unlock(), and BC_WindowBase::unlock_window().
| #define UNSET_LOCK2 BC_Signals::unset_lock2(table_id); |
Definition at line 71 of file bcsignals.h.
Referenced by Condition::lock(), and Condition::timed_lock().
| #define UNSET_TEMP BC_Signals::unset_temp |
| #define UNTRACE BC_Signals::delete_traces(); |
Definition at line 51 of file bcsignals.h.
Referenced by VRender::insert_timecode(), FileDV::open_file(), FileDV::read_frame(), FileDV::reset_parameters_derived(), and FileDV::write_samples().
1.5.5