Hi Koen,

On Tue, Jul 20, 2010 at 12:42 PM, Koen Deforche <[email protected]> wrote:

> Hey Alex,
>
> 2010/7/19 Alex Sadovsky <[email protected]>:
> > Hello,
> > In my application I need to generare a number of RSS feeds so that they
> > could be accessible using urls like "http://host/feed1.rss";,
> > "http://host/feed2.rss"; ect.
> > I'm trying to use WMemoryResource and WServer::addResource for this.
> > The problem is that it seems it is only possible to add resources before
> the
> > server is started and it is not possible to unregister and delete a
> static
> > resource at all.
>
> Looking at the code, it should be possible to add resources after the
> server has started, but this is not a case I considered and it is not
> thread-safe. Are you sure this doesn't work at all ?
>
>
Adding a rosouce after the server has started does indeed work. I had had a
look at the code myself to see if it's threadsafe and found out that it was
not. Is there any kind of a big global lock which I could use to protect
this operation?


> Removing a static resource is not possible indeed.
>
> > So I was  wondering if there was any possibility to make static resources
> > not so static?
>
> I think it is a good suggestion and should be fairly easy to do.
>
> I've added a feature request for it:
> http://redmine.webtoolkit.eu/issues/445
>
>
Thank you.


> Regards,
> koen
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>



-- 
Alex Sadovskiy
Technical Director

Skylark Technology Inc.
925, De Maisonneuve West, Suite 105
Montreal, Quebec, H3A0A5, Canada
Phone: 888-666-0131
Fax: 888-666-0232
http://www.skylark.tv
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to