• Stefan Knoblich's avatar
    FreeTDM: Add span start/stop callbacks to ftdm_io_interface. · c1f4e7f7
    Stefan Knoblich 提交于
    Callbacks are invoked from ftdm_span_start/_stop().
    I/O is started before SIG and shut down in reverse order.
    
    This is needed for ftmod_misdn, to move the mISDN message handling
    into a separate thread (solving the mISDN socket vs. FreeTDM API issues).
    
    With these callbacks, the I/O thread can be started after the span I/O configuration
    has been (successfully) completed and stopped before destroying the span.
    
    NOTE: Both SIG and I/O callbacks are called with the span mutex locked,
    so threads created or destroyed synchronously in either of the custom
    start/stop functions, can not use ftdm_span_*() functions that lock
    the span mutex (e.g. ftdm_span_get_channel_count()).
    Signed-off-by: 's avatarStefan Knoblich <stkn@openisdn.net>
    c1f4e7f7
名称
最后提交
最后更新
..
ftmod 正在载入提交数据...
include 正在载入提交数据...
isdn 正在载入提交数据...
ss7 正在载入提交数据...
detect_dtmf.c 正在载入提交数据...
detect_tones.c 正在载入提交数据...
fsk.c 正在载入提交数据...
ftdm_backtrace.c 正在载入提交数据...
ftdm_buffer.c 正在载入提交数据...
ftdm_call_utils.c 正在载入提交数据...
ftdm_callerid.c 正在载入提交数据...
ftdm_config.c 正在载入提交数据...
ftdm_cpu_monitor.c 正在载入提交数据...
ftdm_dso.c 正在载入提交数据...
ftdm_io.c 正在载入提交数据...
ftdm_queue.c 正在载入提交数据...
ftdm_sched.c 正在载入提交数据...
ftdm_state.c 正在载入提交数据...
ftdm_threadmutex.c 正在载入提交数据...
ftdm_variables.c 正在载入提交数据...
g711.c 正在载入提交数据...
hashtable.c 正在载入提交数据...
hashtable_itr.c 正在载入提交数据...
libteletone_detect.c 正在载入提交数据...
libteletone_generate.c 正在载入提交数据...
priserver.c 正在载入提交数据...
sangoma_pri.c 正在载入提交数据...
sangoma_pri.h 正在载入提交数据...
testanalog.c 正在载入提交数据...
testapp.c 正在载入提交数据...
testcid.c 正在载入提交数据...
testisdn.c 正在载入提交数据...
testpri.c 正在载入提交数据...
testr2.c 正在载入提交数据...
testtones.c 正在载入提交数据...
uart.c 正在载入提交数据...