Changeset eef45d1 in rtems


Ignore:
Timestamp:
Oct 26, 2011, 10:20:54 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
09647b7
Parents:
8c30ecd
Message:

2011-10-26 Sebastian Huber <sebastian.huber@…>

  • ftpd/ftpd.c: Increased data buffer size to 4096 bytes. Use RTEMS_MINIMUM_STACK_SIZE plus the data buffer size for worker thread stack size.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r8c30ecd reef45d1  
     12011-10-26      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * ftpd/ftpd.c: Increased data buffer size to 4096 bytes.  Use
     4        RTEMS_MINIMUM_STACK_SIZE plus the data buffer size for worker thread
     5        stack size.
     6
    172011-10-26      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • cpukit/ftpd/ftpd.c

    r8c30ecd reef45d1  
    241241{
    242242  FTPD_BUFSIZE  = 256,       /* Size for temporary buffers */
    243   FTPD_DATASIZE = 1024,      /* Size for file transfer buffers */
    244   FTPD_STACKSIZE = 8 * 1024, /* Tasks stack size */
     243  FTPD_DATASIZE = 4 * 1024,      /* Size for file transfer buffers */
     244  FTPD_STACKSIZE = RTEMS_MINIMUM_STACK_SIZE + FTPD_DATASIZE /* Tasks stack size */
    245245};
    246246
     
    20882088
    20892089  sc = rtems_task_create(rtems_build_name('F', 'T', 'P', 'D'),
    2090     priority, FTPD_STACKSIZE,
     2090    priority, RTEMS_MINIMUM_STACK_SIZE,
    20912091    RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR |
    20922092    RTEMS_INTERRUPT_LEVEL(0),
Note: See TracChangeset for help on using the changeset viewer.