11 Commits
Author SHA1 Message Date
Francis Tsui 574808daa6 Fix use of deprecated MutexLock.
PiperOrigin-RevId: 877419825
2026-03-02 08:49:07 -08:00
Francis Tsui 72088b7fe2 Remove Timer::FireNow.
PiperOrigin-RevId: 811123106
2025-09-24 18:44:41 -07:00
Nick Bourdakos 4c5637203b Dispatch FireNow to a background queue to avoid blocking UI
PiperOrigin-RevId: 793875585
2025-08-11 18:28:04 -07:00
Edwin Wu bcc34ee7b6 Make timer queue run on background queue
PiperOrigin-RevId: 788236523
2025-07-28 18:21:49 -07:00
Edwin Wu f487377f5c Fix Segmentation fault on TimerImpl.TestFireNow
PiperOrigin-RevId: 788087990
2025-07-28 11:25:37 -07:00
Guogang Li 46d7270fdc Replace GTMLogger with GNCLogger
PiperOrigin-RevId: 766419599
2025-06-02 18:11:23 -07:00
Nick Bourdakos 8fc0d93ce1 Fix potential deadlock by running timer callback in another thread
PiperOrigin-RevId: 538469916
2023-06-07 06:37:21 -07:00
Nick Bourdakos d6f66237b0 Update Apple implementation to cancel the timer before calling the callback
This fixes a crash where the Timer is destroyed as soon as the callback is called, so Timer::Stop can't be safely called.

PiperOrigin-RevId: 521760888
2023-04-04 07:47:14 -07:00
Nick Bourdakos b59ed0b70f Add Apple implementation for timer
PiperOrigin-RevId: 511201457
2023-02-21 08:03:09 -08:00
Janusz Sobczak f4d85f9b90 Migrate to AnyInvocable in platform code
PiperOrigin-RevId: 504104740
2023-01-23 16:04:21 -08:00
Qin Wang f94aa7548b Migrate Timer from location/nearby to third_party/nearby
PiperOrigin-RevId: 501928835
2023-01-13 13:44:17 -08:00