make linking of thread-start with explicit scheduling conditional
authorRich Felker <dalias@aerifal.cx>
Wed, 9 May 2018 04:33:54 +0000 (00:33 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 9 May 2018 04:37:49 +0000 (00:37 -0400)
commit40bae2d32fd6f3ffea437fa745ad38a1fe77b27e
treea69ba86fa80860f0248778a782c0b18a226bc0c2
parentb8742f32602add243ee2ce74d804015463726899
make linking of thread-start with explicit scheduling conditional

the wrapper start function that performs scheduling operations is
unreachable if pthread_attr_setinheritsched is never called, so move
it there rather than the pthread_create source file, saving some code
size for static-linked programs.
src/internal/pthread_impl.h
src/thread/pthread_attr_setinheritsched.c
src/thread/pthread_create.c