get rid of trailing ws in threading.c