i don't really know why you get that double-rate figure, maybe it's because of the erm... somewhat flawed real-timing logic?
maybe you could rearrange it to the snipped below, which is likely one notch more correct to have on a real-time thread ?
// Trigger update process if (pthread_mutex_trylock(&updateThreadMutex) == 0) { // Signal update thread pthread_cond_signal(&updateThreadCv); pthread_mutex_unlock(&updateThreadMutex); }
hth.
cheers
Copyright (C) 2006-2024 rncbc aka Rui Nuno Capela. All rights reserved.
Powered by Drupal
Recent comments
2 hours 33 min ago
4 hours 4 min ago
4 hours 8 min ago
14 hours 31 min ago
1 day 2 hours ago
1 day 10 hours ago
1 day 12 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 3 hours ago