Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
# HG changeset patch
# User Darren Salt <linux@...>
# Date 1190216695 -3600
# Node ID ca0bac9ca3636b315475b9ff97c94bc3fe5d0644
# Parent b5459e9876aced304b8145a29d19a626744dd72a
Just return rather than updating the time widget if we can't get the lock.
diff -r ca0bac9ca3636b315475b9ff97c94bc3fe5d0644 -r b5459e9876aced304b8145a29d19a626744dd72a src/info_widgets.c
--- a/src/info_widgets.c Wed Sep 19 16:44:55 2007 +0100
+++ b/src/info_widgets.c Fri Sep 14 22:52:39 2007 +0100
@@ -384,7 +384,8 @@ update_time_widget_cb (gpointer data)
- pthread_mutex_lock (&widgets_update_lock);
+ if (pthread_mutex_trylock (&widgets_update_lock))
+ return TRUE;
time.length = time.current = 0;
Sign up for the SourceForge newsletter: