Are there any java.util.ExecutorService implementations which simply run all executed tasks in the calling thread? If this isn’t included in Java by default, is there a library which contains an implementation like this?
Are there any java.util.ExecutorService implementations which simply run all executed tasks in the calling
Share
The only existing implementation I could find is
SynchronousExecutorService– unfortunately buried somewhere in camel library.Pasting source code (without comments) here for future reference: