Re: Bug in synchronized() ?
Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Tim Bitson wrote: > I've built a multithreaded HTTP server. I've noticed that I get a > several unexplained java.io.IOExceptions in my log file. I've traced the > problem to a synchronized block. It seems that if second thread tries to > access the synchronized block, the first thread continues to run for a > while, then freezes for 90 seconds. The first thread then throws a > IOException, and then the second thread continues. This problem is > repeatable and consistant. I've run this same routine on another Java > platform, and it does not exhibit this phenomena. Tim, Changes.txt lists a bug fix for synchronized blocks in TINIOS 1.12. Is 1.12 the version you are using? -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini