Gilles Chanteperdrix a écrit :
Lionel Perrin wrote:
> ///* the following lines shouldn't be commented but xenomai... */
> //else
> //{
> ///* a new shm_file has been created, we need to truncate it
*/
> //if (ftruncate(h_shm, nbvalues
Lionel Perrin wrote:
> // /* the following lines shouldn't be commented but xenomai... */
> // else
> // {
> // /* a new shm_file has been created, we need to truncate it */
> // if (ftruncate(h_shm, nbvalues * sizeof(double))==-1)
> // {
> //
Lionel Perrin wrote:
>
> > > > I can confirm that a few fixes in v2.1 were missing, so trunk works
> > > > correctly, didn't you forget to rebuild the kernel when building
> > trunk ?
> > > > Attached is a patch to v2.1 that contain the fixes backported from
> > > > trunk. Please try t
> > I can confirm that a few fixes in v2.1 were missing, so trunk works
> > correctly, didn't you forget to rebuild the kernel when building trunk ?
> > Attached is a patch to v2.1 that contain the fixes backported from
> > trunk. Please try this patch and tell me if this works for you.
> >
Lionel Perrin wrote:
>
> > I can confirm that a few fixes in v2.1 were missing, so trunk works
> > correctly, didn't you forget to rebuild the kernel when building trunk ?
> > Attached is a patch to v2.1 that contain the fixes backported from
> > trunk. Please try this patch and tell me if th
I can confirm that a few fixes in v2.1 were missing, so trunk works
correctly, didn't you forget to rebuild the kernel when building trunk ?
Attached is a patch to v2.1 that contain the fixes backported from
trunk. Please try this patch and tell me if this works for you.
In fact, I've downloa
Lionel Perrin wrote:
>
> > > - Will this shared memory be accessible to non rt-task ?
> > > - What's the simplest way to share information with a non rt-task ?
> >
> > Shared memory are also accessible to non-rt tasks. Since user-space
> > realtime and non-realtime threads from the same pr
Lionel Perrin wrote:
>
> > > - Will this shared memory be accessible to non rt-task ?
> > > - What's the simplest way to share information with a non rt-task ?
> >
> > Shared memory are also accessible to non-rt tasks. Since user-space
> > realtime and non-realtime threads from the same pr
> - Will this shared memory be accessible to non rt-task ?
> - What's the simplest way to share information with a non rt-task ?
Shared memory are also accessible to non-rt tasks. Since user-space
realtime and non-realtime threads from the same process reside in the
same address space, the si
Lionel Perrin wrote:
> Ok, thanks, i'll try. My old pc will have some job... :)
>
> I still have a few questions :
> - How can we load/unload posix skin ?
When configuring your kernel, configure the posix skin as a module. A
module xeno_posix.ko will then be compiled that you may load with
mo
Ok, thanks, i'll try. My old pc will have some job... :)
I still have a few questions :
- How can we load/unload posix skin ?
- Will this shared memory be accessible to non rt-task ?
- What's the simplest way to share information with a non rt-task ?
Lionel Perrin wrote:
> Hi,
>
> I got some problems with shared memory.
> I started from the shm_open example from opengroup.org.
> When I compile it as non real time tasks, it works properly. But since I
> tried to compile it with
> gcc $(xeno-config --posix-cflags) shm_open.c $(xeno-confi
Lionel Perrin wrote:
> Hi,
>
> I got some problems with shared memory.
> I started from the shm_open example from opengroup.org.
> When I compile it as non real time tasks, it works properly. But since I
> tried to compile it with
> gcc $(xeno-config --posix-cflags) shm_open.c $(xeno-confi
Hi,
I got some problems with shared memory.
I started from the shm_open example from opengroup.org.
When I compile it as non real time tasks, it works properly. But since I
tried to compile it with
gcc $(xeno-config --posix-cflags) shm_open.c $(xeno-config
--posix-ldflags) -o xeno_shm_open,
i
14 matches
Mail list logo