gthread: Only print scheduler setting warnings once
If one thread pool thread fails to set its scheduler settings, it’s likely that all the rest of them will fail for the same reason. Avoid printing duplicate critical warnings in that case.
Signed-off-by: Philip Withnall withnall@endlessm.com
Fixes: #2191 (closed)