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

« back to all changes in this revision

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