~ubuntu-branches/ubuntu/quantal/nspr/quantal-security

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/threads.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:
43
43
#include <stdlib.h>
44
44
#include <string.h>
45
45
 
46
 
#ifdef XP_MAC
47
 
#include "prlog.h"
48
 
#define printf PR_LogPrint
49
 
extern void SetupMacPrintfLog(char *logFile);
50
 
#endif
51
 
 
52
46
PRMonitor *mon;
53
47
PRInt32 count, iterations, alive;
54
48
 
200
194
        PL_DestroyOptState(opt);
201
195
    }
202
196
 
203
 
#ifdef XP_MAC
204
 
        SetupMacPrintfLog("threads.log");
205
 
        count = 10;
206
 
        iterations = 10;
207
 
        debug_mode = PR_TRUE;
208
 
#else
209
197
    if (0 == count) count = 50;
210
198
    if (0 == iterations) iterations = 10;
211
199
 
212
 
#endif
213
 
 
214
200
    if (debug_mode)
215
201
    {
216
202
    printf("\