Work around https://bugzilla.mozilla.org/show_bug.cgi?id=1049091: Calling console.log/.error in a web worker blocks until the main JS thread yields back to the browser.
Add test for pthread cleanup stack operations.
Add test for pthread_join().
Add test browser.test_pthread_kill.
Add test for pthread volatile vars.