Changeset e53aae2 in rtems for testsuites/samples


Ignore:
Timestamp:
Mar 26, 2012, 8:42:38 PM (8 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, master
Children:
e6f327c
Parents:
39671330
git-author:
Gedare Bloom <gedare@…> (03/26/12 20:42:38)
git-committer:
Gedare Bloom <gedare@…> (03/27/12 23:51:31)
Message:

confdefs: Add declaration for unlimited objects.

Adds to confdefs a way to specify rtems_resource_unlimited for classic and
posix objects using a new macro CONFIGURE_OBJECTS_UNLIMITED.
Use CONFIGURE_OBJECTS_ALLOCATION_SIZE to declare the allocation size for
extending the set of objects at runtime. Updates the unlimited sample
to demonstrate how to use the new macros. Also adds new documentation in
the C User's Manual regarding configuring with unlimited objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/unlimited/system.h

    r39671330 re53aae2  
    5151
    5252#define TASK_ALLOCATION_SIZE     (5)
    53 #define CONFIGURE_MAXIMUM_TASKS  rtems_resource_unlimited(TASK_ALLOCATION_SIZE)
     53#define CONFIGURE_UNLIMITED_OBJECTS
     54#define CONFIGURE_UNLIMITED_ALLOCATION_SIZE TASK_ALLOCATION_SIZE
    5455#define CONFIGURE_INIT_TASK_STACK_SIZE (8 * 1024)
    5556
Note: See TracChangeset for help on using the changeset viewer.