Fix enq_work
behavior when single-threaded
#48702
Merged
enq_work
behavior when single-threaded
#48702