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

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/servr_kk.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:
181
181
        if (debug_mode) DPRINTF("\tServer accepted connection (%d bytes)\n", bytesRead);
182
182
        
183
183
        PR_AtomicIncrement(&workerThreadsBusy);
 
184
#ifdef SYMBIAN
 
185
        if (workerThreadsBusy == workerThreads && workerThreads<1) {
 
186
#else
184
187
        if (workerThreadsBusy == workerThreads) {
185
 
 
 
188
#endif
186
189
            PR_Lock(workerThreadsLock);
187
190
            if (workerThreadsBusy == workerThreads) {
188
191
                PRThread *WorkerThread;
570
573
        PL_DestroyOptState(opt);
571
574
 
572
575
 /* main test */
 
576
#ifndef SYMBIAN
573
577
    if (debug_mode) {
574
578
                printf("Enter number of iterations: \n");
575
579
                scanf("%d", &_iterations);
580
584
                printf("Enter size of server data : \n");
581
585
                scanf("%d", &_server_data);
582
586
        }
583
 
        else {
 
587
        else 
 
588
#endif
 
589
        {
584
590
                _iterations = 7;
585
591
                _clients = 7;
586
592
                _client_data = 100;