projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ada7dc
)
add warning against busy waiting and mitigate
author
Christian Grothoff
<christian@grothoff.org>
Thu, 1 Oct 2009 22:57:28 +0000
(22:57 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 1 Oct 2009 22:57:28 +0000
(22:57 +0000)
src/util/scheduler.c
patch
|
blob
|
history
diff --git
a/src/util/scheduler.c
b/src/util/scheduler.c
index 308257abeacb0e984a7557af0833c8d755efeb8e..731816e329c7f64c3598d38bd64916e335beb4b0 100644
(file)
--- a/
src/util/scheduler.c
+++ b/
src/util/scheduler.c
@@
-530,6
+530,7
@@
GNUNET_SCHEDULER_run (GNUNET_SCHEDULER_Task task, void *cls)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
_("Looks like we're busy waiting...\n"));
+ sleep (1); /* mitigate */
}
if (ret == GNUNET_SYSERR)
{