[GitHub] commons-lang pull request: Remove busy wait

2015-02-19 Thread artnaseef
GitHub user artnaseef opened a pull request: https://github.com/apache/commons-lang/pull/46 Remove busy wait Remove the busy wait from AtomicSafeInitializer.get(). Also ensure waiting threads do not wait indefinitely after initialize() throws an exception, instead throwing

[GitHub] commons-lang pull request: Replace the busy wait from AtomicSafeIn...

2015-02-18 Thread artnaseef
Github user artnaseef closed the pull request at: https://github.com/apache/commons-lang/pull/45 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the

[GitHub] commons-lang pull request: Replace the busy wait from AtomicSafeIn...

2015-02-18 Thread artnaseef
GitHub user artnaseef opened a pull request: https://github.com/apache/commons-lang/pull/45 Replace the busy wait from AtomicSafeInitializer with an alternate method that eliminates wasted CPU cycles This patch eliminates the busy-wait in AtomicSafeInitializer that consumes