joel.sherrill at OARcorp.com
Fri Dec 5 12:08:47 UTC 2003
sashti srinivasan wrote:
> I want to port many unix applications like, mail
>client, gui toolkit, web browser, etc., available in
>open source. Towards this goal, I want to try a small
>posix thread program in RTEMS. The same code works
>well in linux, but in RTEMS(over leon), pthread_create
>fails(Non zero return value). Please help me.
> Along with this, please give some pointers
>regarding wherefrom posix examples can be obtained to
>run with RTEMS over LEON.
RTEMS has a different view of resource usage control than Linux. You
have to configure the maximum number of each object type you will use.
You need to look for an include of confdefs.h and make you define
the appropriate number of each object type required. Here is an
example from c/src/tests/psxtests/psx01.
/* configuration information */
#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
for all the details.
>Do you Yahoo!?
>Free Pop-Up Blocker - Get it now
More information about the users