Title
#core
theopolis

theopolis

02/05/2020, 9:59 PM
@thor, @Stefano Bonicatti, @farfella I think I located the error Stefano referenced with the shutdown refactor. It was possible to notify the condition variable used by the main thread before the main thread started waiting. An example includes starting a service thread that quickly fails (for some reason or another) that then calls requestShutdown. I changed the code such that the CV uses a predicate and a quick/early request for shutdown makes that predicate hold.
s

seph

02/06/2020, 1:08 AM
Nice to see a flurry of activity. Hope you’re holding up okay
f

farfella

02/06/2020, 1:16 AM
I wonder if this is his vacation now. 😄
s

seph

02/06/2020, 1:18 AM
TBH when I was on paternity leave I had a bunch of time that I needed projects for. Infants sleep a lot, often on lap.
1:18 AM
But I wouldn’t assume that for anyone other that myseklf. I think it’s really key to have the time to figure out how the family thing works, and to help heal and recover from birth
f

farfella

02/06/2020, 1:51 AM
Ok-- one single comment on this PR. I think that bool value being read ought to be
volatile
. I haven't attempted to test and run the executable, however.