Ka Ho Ng f8aa02897f 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
2020-11-14 12:04:31 -08:00
..
2020-09-27 19:03:21 +02:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-07-24 18:26:44 +02:00
2019-06-23 23:49:10 -07:00
2016-08-27 20:19:45 -07:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2019-02-07 14:47:15 -08:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2020-01-01 15:58:48 +11:00
2020-08-17 07:18:18 -07:00
2020-06-21 18:23:05 -07:00
2020-11-13 18:07:20 -08:00
2020-11-13 18:07:20 -08:00
2019-06-23 23:49:10 -07:00
2020-06-21 18:23:05 -07:00
2020-07-22 07:47:07 +02:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-07-21 20:53:30 -07:00