[PATCH] confdefs: Add declaration for unlimited objects.

Peer Stritzinger peerst at gmail.com
Mon Mar 26 22:47:05 UTC 2012


> 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.

Tried this out and it helped already!

I'm in the process of porting the Erlang to RTEMS and instead of
hitting one resource limit after another I just set
CONFIGURE_OBJECTS_UNLIMITED and get over all resource problems at
once.  Great when porting stuff where the resource usage is completely
unknown.

Cheers
-- Peer



More information about the devel mailing list