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:
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 address
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
without
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 segment
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 specifying address and
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 (SIZE multiple of
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 what i do:
-
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 value
8 matches
Mail list logo