Yes I reproduced this issue with Xenomai 2.4.8.
----- Original Message -----
From: "Gilles Chanteperdrix" <[email protected]>
To: "Henry Bausley" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, August 13, 2009 10:33 AM
Subject: Re: [Xenomai-help] pthread_setschedparam: Resource temporarily
unavailable
> Henry Bausley wrote:
>> We are using 2.6.28.8 and xenomai 2.4.7 on a AMCC PowerPC 460EX platform
>> and getting
>> the following message.
>>
>> Xenomai Posix skin init: pthread_setschedparam: Resource temporarily
>> unavailable
>>
>>
>> It takes quite a while for this to happen. The /proc/xenomai/heap value
>> for used keeps increasing.
>> Once the "used" gets very close to "size" the user space xenomai
>> applications can no longer run.
>> I have isolated the problem to opening and closing shared memory areas.
>>
>>
>> shmfd = shm_open(RTL_SHM_NAME, O_CREAT | O_RDWR, 0777);
>> if (shmfd == -1) {
>> printf("Gp Share mem Open, Err: %d Msg: (%s)\n", errno,
>> strerror(errno));
>> return -1;
>> }
>> ftruncate(shmfd,MAKE_PAGESIZE(sizeof(struct SHM)));
>>
>> pshm = mmap(NULL,MAKE_PAGESIZE(sizeof(struct SHM)),PROT_READ |
>> PROT_WRITE,MAP_SHARED, shmfd,0);
>>
>> munmap(pshm, MAKE_PAGESIZE(sizeof(struct SHM)));
>> close(shmfd);
>> shm_unlink(RTL_SHM_NAME);
>>
>>
>> The above calls are in a shared library that an applications call.
>
> Well, I am surprised, since I received no answer after trying and help
> you with your last issue, I assumed you had stopped using Xenomai shared
> memories.
>
> Do you reproduce this issue with Xenomai 2.4.8?
>
> --
> Gilles.
>
**********************************************************
Outbound scan for Spam or Virus by Barracuda at Delta Tau
**********************************************************
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help