Re: cygserver shmat

2004-08-12 Thread Corinna Vinschen
On Aug 12 14:44, bertrand marquis wrote: > Ok i perhaps find a solution or a beginning of solution: > > the getpagesize() function return a value of 4096 for the page size and > it seems that shmat need the address to be aligned on a multiple of > SHMLBA (655539), if instead of using getpagesize v

Re: cygserver shmat

2004-08-12 Thread bertrand marquis
Le jeu 12/08/2004 Ã 14:19, bertrand marquis a Ãcrit : > Le jeu 12/08/2004 Ã 14:03, bertrand marquis a Ãcrit : > > Le jeu 12/08/2004 Ã 12:44, Corinna Vinschen a Ãcrit : > > > On Aug 12 12:13, bertrand marquis wrote: > > > > In fact i wasn't using the SHM_RNd flag. > > > > > > > > In details here is

Re: cygserver shmat

2004-08-12 Thread bertrand marquis
Le jeu 12/08/2004 Ã 14:03, bertrand marquis a Ãcrit : > Le jeu 12/08/2004 Ã 12:44, Corinna Vinschen a Ãcrit : > > On Aug 12 12:13, bertrand marquis wrote: > > > In fact i wasn't using the SHM_RNd flag. > > > > > > In details here is what i do: > > > > > > - get a shared segment of with size= SIZE

Re: cygserver shmat

2004-08-12 Thread bertrand marquis
Le jeu 12/08/2004 Ã 12:44, Corinna Vinschen a Ãcrit : > On Aug 12 12:13, bertrand marquis wrote: > > In fact i wasn't using the SHM_RNd flag. > > > > In details here is what i do: > > > > - get a shared segment of with size= SIZE (SIZE multiple of SHMLBA) > > - attach the segment without specifyi

Re: cygserver shmat

2004-08-12 Thread Corinna Vinschen
On Aug 12 12:13, bertrand marquis wrote: > In fact i wasn't using the SHM_RNd flag. > > In details here is what i do: > > - get a shared segment of with size= SIZE (SIZE multiple of SHMLBA) > - attach the segment without specifying address and storing the result > in beginaddress > - attach the s

Re: cygserver shmat

2004-08-12 Thread bertrand marquis
Le jeu 12/08/2004 Ã 11:32, Corinna Vinschen a Ãcrit : > On Aug 12 11:23, bertrand marquis wrote: > > Hello, > > > > i'm trying to use shmat specifying an address but each time i got the > > error: "invalid argument". > > in fact i need to map something just next to something previously mapped

Re: cygserver shmat

2004-08-12 Thread Corinna Vinschen
On Aug 12 11:23, bertrand marquis wrote: > Hello, > > i'm trying to use shmat specifying an address but each time i got the > error: "invalid argument". > in fact i need to map something just next to something previously mapped > without argument. > is this a limitation of cygserver ? What

cygserver shmat

2004-08-12 Thread bertrand marquis
Hello, i'm trying to use shmat specifying an address but each time i got the error: "invalid argument". in fact i need to map something just next to something previously mapped without argument. is this a limitation of cygserver ? thanks -- Unsubscribe info: http://cygwin.com/ml/#