What is the max number of mutexs that can be created?

Eric Norum wenorum at lbl.gov
Fri Feb 18 18:36:08 UTC 2011


It depends -- in most cases you are using a 32-bit object ID, in which case you have up to 65536 instances of each object type.     
For very small systems you can use a 16-bit object ID in which case you can have only 256 instances of each object type.

See http://www.rtems.org/onlinedocs/releases/rtemsdocs-4.10.0/share/rtems/html/c_user/c_user00023.html for details.

You can also configure the number of each type of object to be expandable at runtime.

On Feb 18, 2011, at 10:23 AM, Gardner, Michael T wrote:

> One of the kernel configuration parameters provides a mechanism for reserving resources for mutexs:
>  
> #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 100
>  
> Can someone please tell me what the maximum number is for this configuration parameter?  Is it limited to 256 (8-bits)? More?
>  
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users

-- 
Eric Norum
wenorum at lbl.gov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20110218/55cc369e/attachment-0001.html>


More information about the users mailing list