UI: Detect other instances of obs on FreeBSD
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
Showing
想要评论请 注册 或 登录