Re: Bug in synchronized() ?

rumi <rumi_smieci-h7QdYz1kt/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Bryan Armstrong wrote:

> One could rewrite the server to only synchronize on specific files 
> that are known to change.  How does the Apache web server do this?  
> I'm under the impression that it does not do file locking by default.
>
Apache serves static fiales or generates files on demand - it is normal 
in web world. I've noticed autoregenerate  html file (every 5 seconds) 
in TINIWebServer. That example is very bad and every new web tini 
programmer will copy this pattern (so do I). The first dynamic view for 
pages  should use post method where in serve method the page is generate 
(and/or cached for near future use).

brgds
rumi





_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.