Bug 759677 - Increase cubeb_run_thread stack size to avoid blowing the stack with some ALSA configurations. r=doublec

This commit is contained in:
Matthew Gregan 2012-06-02 19:09:27 +12:00
parent 5168196f12
commit b4e55eeefb
2 changed files with 2 additions and 2 deletions

View File

@ -5,4 +5,4 @@ Makefile.in build files for the Mozilla build system.
The cubeb git repository is: git://github.com/kinetiknz/cubeb.git
The git commit ID used was 612118caa85bee3f0ed1e169d54f78305ad39c72.
The git commit ID used was 6a6ed2607e3c457768659495532c58480df1e40d.

View File

@ -517,7 +517,7 @@ cubeb_init(cubeb ** context, char const * context_name UNUSED)
r = pthread_attr_init(&attr);
assert(r == 0);
r = pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN);
r = pthread_attr_setstacksize(&attr, 256 * 1024);
assert(r == 0);
r = pthread_create(&ctx->thread, &attr, cubeb_run_thread, ctx);