Address a race condition in the extern step launch.
The prolog is marked complete as soon as job_manager starts. However, this is well before the extern step setup has actually had time to complete, which leads to a race condition in the x11 code where the display has not been established. Adding this locking keeps _handle_x11_display from returning until the display number has been set.
Please register or sign in to comment