Re: [Jack-Devel] crash in jack_thread_touch_stack
> i am not sure, what is the best solution for this issue, maybe jack should set
> the stack size manually (pthread_attr_setstacksize) before launching the
> thread?
cleaner solutions:
- use pthread_getattr_np or pthread_get_stackaddr_np/pthread_get_stacksize_np to
determine stack address
- use a pre-allocated stack via pthread_attr_setstack. you can then touch/mlock
the stack, before it is actually created ...
the second solution seems to be cleaner and more powerful, but will require some
manual cleanup after the client thread terminates ...
cheers, tim
1328971372.27926_0.ltw:2,a <jh5uof$5er$1 at dough dot gmane dot org>