The same test is done in the underlying vlc_cond_broadcast().
Attach a file by drag & drop or click to upload