SlideRuleEarth / sliderule

Server and client framework for on-demand science data processing in the cloud
https://slideruleearth.io
Other
25 stars 11 forks source link

Race condition in Atl03Reader threadCount #420

Open jpswinski opened 1 week ago

jpswinski commented 1 week ago

When calculating the threadCount in the Atl03Reader, the threadCount is incremented when the thread is created - BUT if the thread completes very quickly it can be checked at the bottom of the thread function before the other threads are created and the count incremented further.