~ubuntu-branches/ubuntu/saucy/nspr/saucy-updates

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/io_timeout.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-08-10 11:34:26 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810113426-3uv4diflrkcbdimm
Tags: 4.8-0ubuntu1
* New upstream release: 4.8 (LP: #387812)
* adjust patches to changed upstreanm codebase
  - update debian/patches/99_configure.patch
* update shlibs symbols to include new API elements
  - update debian/libnspr4-0d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
#include <stdio.h>
58
58
#include "nspr.h"
59
59
 
60
 
#ifdef XP_MAC
61
 
#include "prlog.h"
62
 
#define printf PR_LogPrint
63
 
extern void SetupMacPrintfLog(char *logFile);
64
 
#endif
65
 
 
66
60
#define NUM_THREADS 1
67
61
#define BASE_PORT   8000
68
62
#define DEFAULT_ACCEPT_TIMEOUT 2
276
270
    PR_Init(PR_USER_THREAD, PR_PRIORITY_LOW, 0);
277
271
    PR_STDIO_INIT();
278
272
 
279
 
#ifdef XP_MAC
280
 
        SetupMacPrintfLog("io_timeout.log");
281
 
        debug_mode = 1;
282
 
#endif
283
 
 
284
273
    printf("test with global bound thread\n");
285
274
    thread_test(PR_GLOBAL_BOUND_THREAD, num_threads);
286
275