C
coach.meat
Hello -
I'm using Spring's TaskExecutor (specifically
SimpleAsyncTaskExecutor) but my main thread is exiting before the
worker threads have completed. I can't figure out how to get my main
thread to join to the worker threads. This seems like it should be a
fundamental part of the TaskExecutor API - but I don't see it.
Any help would be appreciated.
I'm using Spring's TaskExecutor (specifically
SimpleAsyncTaskExecutor) but my main thread is exiting before the
worker threads have completed. I can't figure out how to get my main
thread to join to the worker threads. This seems like it should be a
fundamental part of the TaskExecutor API - but I don't see it.
Any help would be appreciated.