Ryan Pavlik
|
3e6ec47296
|
monado: Apply clang-tidy fixes to most of the codebase.
All at least visually inspected, some revised from the auto-fixit
|
2022-04-13 09:34:54 -05:00 |
|
Ryan Pavlik
|
ad1961fce7
|
auxiliary: Fix or disable a number of warnings
Both MSVC and doxygen warnings.
|
2022-04-12 23:06:11 +00:00 |
|
Mateo de Mayo
|
b6cd12a860
|
misc: Add gui nullcheck and initialize thread running field
|
2022-04-06 11:50:17 -03:00 |
|
Jakob Bornecrantz
|
76d8944765
|
os/threading: Add os_cond wrapper
|
2022-03-11 15:29:16 +00:00 |
|
Ryan Pavlik
|
8030468f95
|
os: Add a c++ wrapper for our mutex types
|
2022-02-08 17:00:11 +00:00 |
|
Ryan Pavlik
|
f4b61d9e41
|
a/os: Fix some it's vs its.
|
2021-11-03 17:24:17 -05:00 |
|
Mateo de Mayo
|
891842cb51
|
os: Change os_nanosleep parameter to int64_t
|
2021-10-28 11:40:49 +00:00 |
|
Ryan Pavlik
|
d6177777e5
|
os: Fix os_nanosleep on Windows.
|
2021-10-15 13:05:18 -05:00 |
|
Ryan Pavlik
|
3351ef5396
|
os: Add new thread helper methods
|
2021-10-15 13:05:18 -05:00 |
|
Ryan Pavlik
|
793a7d659d
|
os: Improve docs for thread helper.
|
2021-10-15 11:57:44 -05:00 |
|
Ryan Pavlik
|
967efb4a12
|
a/os: SetWaitableTimer wants durations in hundreds of ns.
|
2021-09-20 09:25:31 -05:00 |
|
Moses Turner
|
0b2dd35b60
|
aux/os: Add os_mutex_trylock
|
2021-08-16 21:02:27 +01:00 |
|
Ryan Pavlik
|
701ea290d0
|
os: Fix comment typo.
|
2021-04-13 11:46:53 -05:00 |
|
Ryan Pavlik
|
b3280c5bc1
|
os/time: Small cleanup.
|
2021-03-31 12:02:41 -05:00 |
|
Ryan Pavlik
|
aa3d1c1f6a
|
os: Add os_precise_sleeper.
Mostly to be able to use a timer on Windows.
|
2021-03-31 12:02:41 -05:00 |
|
Ryan Pavlik
|
47bf17a0cc
|
os: Improve comment and prototype for os_nanosleep
|
2021-03-31 12:02:41 -05:00 |
|
Ryan Pavlik
|
0717975853
|
os: Improve timestamp retrieval on Windows.
|
2021-03-31 12:02:41 -05:00 |
|
Ryan Pavlik
|
00915cab0f
|
os: Add caveats to some timespec conversion functions.
|
2021-03-31 12:02:41 -05:00 |
|
Ryan Pavlik
|
ddc9b00d14
|
os: Adjust how we compute the timeout for a semaphore.
Preparation for overhaul of timing on Windows.
|
2021-03-31 12:02:36 -05:00 |
|
Ryan Pavlik
|
b93b082bd3
|
aux: Fix doxygen warnings
|
2021-03-26 17:10:53 -05:00 |
|
Mateo de Mayo
|
75e908552f
|
doc: Fix missing entities from modules documentation
|
2021-03-06 20:34:35 -03:00 |
|
Christoph Haag
|
42996d6b1c
|
os/hid: Add get_physical_address()
|
2021-02-12 02:44:00 +01:00 |
|
Jakob Bornecrantz
|
2b996f30c4
|
xrt: Reflow after column change
|
2021-01-15 13:50:32 +00:00 |
|
Lubosz Sarnecki
|
e350e42ca9
|
aux/os/ble_dbus: Use printf padding.
|
2020-12-28 13:04:11 +00:00 |
|
Lubosz Sarnecki
|
79dde59f7e
|
aux/os/ble_dbus: Port to u_logging.
|
2020-12-28 13:04:11 +00:00 |
|
Christoph Haag
|
3d3361706c
|
os/threading: Fix typo in comment
|
2020-11-30 15:38:07 +00:00 |
|
Jakob Bornecrantz
|
aa7f922e35
|
os/time: Add a Linux specific way to get the realtime clock (for RealSense)
|
2020-11-09 23:42:13 +00:00 |
|
Jakob Bornecrantz
|
4bbe25148b
|
os/time: Make timespec argument const
|
2020-11-09 23:42:11 +00:00 |
|
Ryan Pavlik
|
7cebdb4763
|
aux/os: More defines to calm clang-tidy.
|
2020-11-09 16:18:00 -06:00 |
|
Jakob Bornecrantz
|
0804dc20d1
|
os/ble: Use logging
|
2020-10-05 16:22:02 +01:00 |
|
Jakob Bornecrantz
|
40c764a290
|
os/ble: Large refactor of code
|
2020-10-05 14:19:52 +01:00 |
|
Jakob Bornecrantz
|
5af976a510
|
os/ble: Add os_ble_broadcast_write_value function
|
2020-10-05 14:19:52 +01:00 |
|
Jakob Bornecrantz
|
5b4d45ffcc
|
os/ble: Correct documentation on os_ble_notify_open function
|
2020-10-05 14:19:52 +01:00 |
|
Milan Jaros
|
7685f49adb
|
os/threading: Fix includes on Windows
|
2020-09-18 17:15:33 +01:00 |
|
Milan Jaros
|
367c01f354
|
os/time: Provide time functions for Windows
|
2020-09-18 17:15:33 +01:00 |
|
Ryan Pavlik
|
7c47293c52
|
os/time: Implement os_nanosleep for Windows
|
2020-09-18 13:56:34 +01:00 |
|
Christoph Haag
|
a884e24b9a
|
aux: Support waiting more than 0.999... seconds in os_nanosleep
|
2020-09-11 18:52:01 +02:00 |
|
Ryan Pavlik
|
146218b346
|
xrt: Some clang tidy fixes.
A few suppressions as well where clang-tidy did the wrong thing.
|
2020-08-12 17:11:42 -05:00 |
|
Jakob Bornecrantz
|
f5359b655e
|
os/threading: Add semaphore
|
2020-06-23 21:31:03 +01:00 |
|
Jakob Bornecrantz
|
ef282c7df2
|
os/time: Add function to convert to a timespec struct
|
2020-06-23 21:31:03 +01:00 |
|
Ryan Pavlik
|
bc6cc85e7d
|
xrt: Improve doxygen documentation.
|
2020-06-03 16:28:18 -05:00 |
|
Jakob Bornecrantz
|
ace4d0e825
|
os/threading: Incude xrt_compiler.h
|
2020-05-29 23:36:23 +01:00 |
|
Jakob Bornecrantz
|
0ad9a7406c
|
os/threading: Add #pragma once
|
2020-04-22 21:59:20 +01:00 |
|
Jakob Bornecrantz
|
48957b97c2
|
os/time: Fix warnings on C++
|
2020-04-16 14:51:08 +01:00 |
|
Jakob Bornecrantz
|
76f83364e3
|
os/ble_dbus: Check if bluetooth is available
Closes #65
|
2020-04-16 13:48:34 +00:00 |
|
Jakob Bornecrantz
|
530cbf0d6c
|
os/ble: Detect errors better
|
2020-04-16 13:48:34 +00:00 |
|
Jakob Bornecrantz
|
ded6a8a4b9
|
os/ble_dbus: Fix return check
|
2020-04-16 13:48:34 +00:00 |
|
Jakob Bornecrantz
|
46f51e8139
|
os/ble: Fix memory leak if we fail to find a device
|
2020-04-03 17:21:55 +01:00 |
|
Jakob Bornecrantz
|
f8847912a7
|
os/ble: Fix error on not finding any device
|
2020-03-13 11:07:32 +00:00 |
|
Pete Black
|
6b4ec70d14
|
aux/os: Add D-Bus based BLE code
|
2020-03-11 21:36:49 +00:00 |
|