[evolution-data-server/gnome-2-30] For the sake of portability: sleep -> g_usleep (cherry picked from commit 25b1990812f060199c30506ca4
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-30] For the sake of portability: sleep -> g_usleep (cherry picked from commit 25b1990812f060199c30506ca4
- Date: Mon, 28 Jun 2010 19:36:33 +0000 (UTC)
commit 69bf749ada54e544361a88f1a6dc9b41bc0b5e85
Author: Fridrich Å trba <fridrich strba bluewin ch>
Date: Fri Jun 25 09:54:45 2010 +0200
For the sake of portability: sleep -> g_usleep
(cherry picked from commit 25b1990812f060199c30506ca453408ad741f1ab)
camel/providers/imapx/camel-imapx-server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 30a661f..28f87de 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -2052,7 +2052,7 @@ imapx_idle_thread (gpointer data)
if (dwelled < IMAPX_IDLE_DWELL_TIME) {
IDLE_UNLOCK(is->idle);
- sleep(IMAPX_IDLE_DWELL_TIME - dwelled);
+ g_usleep(IMAPX_IDLE_DWELL_TIME - dwelled);
continue;
}
IDLE_UNLOCK(is->idle);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]