mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-19 13:56:06 -04:00
Detect other instances of the obs by creating an extra dummy thread, named "OBS runonce". The process of threads enumeration of current user is guarded by an O_EXLOCK file advisory lock when opening the lock file. Such file lock would be dropped once the thread name is changed. This should be usable on FreeBSD and possibly compile on DragonFly BSD. fixes: #3053
64 KiB
64 KiB