Changeset 8e37837 in rtems-libbsd


Ignore:
Timestamp:
Mar 27, 2015, 2:05:44 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
4ccf797
Parents:
f8367a1
git-author:
Sebastian Huber <sebastian.huber@…> (03/27/15 14:05:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/01/15 07:15:28)
Message:

ftpd: Fairplay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/ftpd/ftpd.c

    rf8367a1 r8e37837  
    200200#include <ctype.h>
    201201#include <inttypes.h>
     202#include <sched.h>
    202203
    203204#include <rtems.h>
     
    819820        if(send(s, buf, n, 0) != n)
    820821          break;
     822        sched_yield();
    821823      }
    822824    }
     
    854856        }
    855857        while((rest -= i) > 0);
     858        sched_yield();
    856859      }
    857860    }
     
    10471050          break;
    10481051        }
     1052        sched_yield();
    10491053      }
    10501054    }
     
    11081112        }
    11091113        while((rest -= i) > 0);
     1114        sched_yield();
    11101115      }
    11111116    }
Note: See TracChangeset for help on using the changeset viewer.