Giulio Mazzoleni | 7 Jul 2011 15:31
Favicon

Re: [microblaze-linux] MICROBLAZE APP WITH WEB SERVER

On Thu, 2011-07-07 at 11:22 +0100, Paulo Ferreira wrote:
> On 2011/07/07, at 10:30, Giulio Mazzoleni wrote:
> 
> > Hi Paulo.
> > Thanks for your suggestion.
> > I already used SHM pools in NTP, even if I did not dig much into the
> > details.. Are you referring to it?
> > I'll give a try and let you know.
> > Many thanks and best regards,
> > Giulio
> 
> Yes. 
> 
> The #include <sys/shm.h>   stuff. 
> 
> Best regards
> 
> Paulo Ferreira 
> 

Hi Paulo (and everybody).
Many thanks for your pointers, but I think there are some situations in
which this approach is not enough.

There are two problems:
1) cgi-lib stores values in a list of structs, so that it is all
pointers to different memory areas
2) by only feeding the input on the shared memory area (and reading it
back from the remote process) we are losing environment variables passed
to the cgi program (like REQUEST_METHOD, CONTENT_LENGTH, ...)
(Continue reading)


Gmane