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

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/cvar.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:
66
66
#include <stdlib.h>
67
67
#include <string.h>
68
68
 
69
 
#ifdef XP_MAC
70
 
#include "prlog.h"
71
 
#define printf PR_LogPrint
72
 
extern void SetupMacPrintfLog(char *logFile);
73
 
#endif
74
 
 
75
69
PRMonitor *mon;
76
70
#define DEFAULT_COUNT   1000
77
71
PRInt32 count = 0;
302
296
 
303
297
    if (0 == count) count = DEFAULT_COUNT;
304
298
 
305
 
#ifdef XP_MAC
306
 
        SetupMacPrintfLog("cvar.log");
307
 
        debug_mode = 1;
308
 
#endif
309
 
 
310
299
    mon = PR_NewMonitor();
311
300
 
312
301
    Measure(CondWaitContextSwitchUU, "cond var wait context switch- user/user");
324
313
}
325
314
 
326
315
 
327
 
PRIntn main(PRIntn argc, char *argv[])
 
316
int main(int argc, char *argv[])
328
317
{
329
318
    PRIntn rv;
330
319