~ubuntu-branches/ubuntu/maverick/dbus/maverick-proposed

« back to all changes in this revision

Viewing changes to test/test-sleep-forever.c

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-27 13:06:32 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20100927130632-bqs145trvchd2lmf
Tags: 1.4.0-0ubuntu1
* New upstream release
 - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=17754 Race condition in protected_change_timeout
 - Requested by various upstream KDE developers http://lists.kde.org/?t=128514970000004&r=1&w=2

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#include <unistd.h>
7
7
#endif
8
8
 
 
9
#ifdef DBUS_WIN
 
10
# include <windows.h>
 
11
# define sleep Sleep
 
12
#endif
 
13
 
 
14
 
9
15
int
10
16
main (int argc, char **argv)
11
17
{
12
18
  while (1)
13
19
    sleep (10000000);
14
 
  
 
20
 
15
21
  return 1;
16
22
}