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

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/servr_uk.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:
184
184
        if (debug_mode) DPRINTF("\tServer accepted connection (%d bytes)\n", bytesRead);
185
185
        
186
186
        PR_AtomicIncrement(&workerThreadsBusy);
 
187
#ifdef SYMBIAN
 
188
        if (workerThreadsBusy == workerThreads && workerThreads<1) {
 
189
#else
187
190
        if (workerThreadsBusy == workerThreads) {
188
 
 
 
191
#endif
189
192
            PR_Lock(workerThreadsLock);
190
193
            if (workerThreadsBusy == workerThreads) {
191
194
                PRThread *WorkerThread;
529
532
}
530
533
 
531
534
 
532
 
main(int argc, char **argv)
 
535
int main(int argc, char **argv)
533
536
{
534
537
        /* The command line argument: -d is used to determine if the test is being run
535
538
        in debug mode. The regress tool requires only one line output:PASS or FAIL.
554
557
        PL_DestroyOptState(opt);
555
558
 
556
559
 /* main test */
 
560
#ifndef SYMBIAN
557
561
    if (debug_mode) {
558
562
                printf("Enter number of iterations: \n");
559
563
                scanf("%d", &_iterations);
564
568
                printf("Enter size of server data : \n");
565
569
                scanf("%d", &_server_data);
566
570
        }
567
 
        else {
 
571
        else 
 
572
#endif
 
573
        {
568
574
                _iterations = 7;
569
575
                _clients = 7;
570
576
                _client_data = 100;