summaryrefslogtreecommitdiffstats
path: root/src/phone.h
Commit message (Collapse)AuthorAgeLines
* Merge pull request #150 from fbriere/issue/88-mutex-lock-failedLuboš Doležel2020-02-23-0/+2
|\ | | | | Prevent recursive locking of phone_users_mtx in add_phone_user()
| * Prevent recursive locking of phone_users_mtx in add_phone_user()Frédéric Brière2019-07-03-0/+2
| | | | | | | | | | | | | | | | When encountering two users with the same contact name, attempting to differentiate them using USER_HOST(), a.k.a. get_ip_sip(), would result in EDEADLK since phone_users_mtx was already locked by add_phone_user(). Closes #88
* | Make `t_phone::mutex_3way` recursive to avoid a deadlockFrédéric Brière2019-10-02-1/+1
|/ | | | | | | | | | | | | `t_phone::mutex_3way` can be locked twice when hanging up a conference call: - `t_phone::cleanup_3way_state()` acquires a lock - `t_audio_session::stop_3way()` is called - `t_audio_session::get_peer_3way()` is called - `t_phone::get_3way_peer_line()` is called - which acquires another lock Making that mutex recursive is a simple way to work around this issue.
* Replace (old) FSF postal address with URL in header filesFrédéric Brière2016-10-02-2/+1
| | | | | | Wording copied from https://www.gnu.org/licenses/gpl-howto.en.html Fixes #25, fixes #71
* Fix spellingPeter Colberg2015-12-30-2/+2
|
* Introduce a separate 3-way call mutex (#17)Lubos Dolezel2015-07-07-0/+1
|
* Partial lock rework in t_phone (#17). If the app starts crashing or ↵Lubos Dolezel2015-07-07-0/+2
| | | | freezing, this commit is probably to blame.
* initial checkinMichal Kubecek2015-04-13-0/+707
Check in contents of upstream 1.4.2 tarball, exclude generated files.