Re: concurrency problem with #include as template
Marc Palmer <[email protected]> Sat, 4 Feb 2006 21:09:50 +0000
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
On 4 Feb 2006, at 18:56, Carl H. Sayres wrote: > Hello, > > We've encountered a concurrency problem with the #include as > template directive. It appears that when multiple threads of > execution are running, webmacro can intermittently select a > different template than the one requested. We have created a test > program that demonstrates the problem. If anyone can provide > insight into the cause of the problem, (or even better, a fix), we > would be very appreciative. Thanks for this Carl. I haven't had time to run the test but I've looked at the source of it. It definitely looks like you've found some obscure problem, but it's possible it is either in the include mechanism, template cache implementation, or the introspection code. Anybody got time to look at this? cheers ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642