Thread library: support for an atomic flag
Audio output thread is killable
Asynchronous_audio: perform sine sweep
Fixed unused variable warning
Asynchronous_audio: kill thread and pause for 2 seconds

This is a test to make sure that it dies.