From: "michal@... (Michal Rokos)" Date: 2013-09-03T19:29:48+09:00 Subject: [ruby-core:56986] [ruby-trunk - Feature #8793] Ruby 2.0 and Threads under HPUX Issue #8793 has been updated by michal@rokos.cz (Michal Rokos). Maybe one more comment: Once the _pthread_stack_info_np() is used, I would recommend to clean up the mess with machine_register_stack_* and usage of rb_ia64_bsp assembly. I guess all the required information is provided within the _pthread_stack_info_t. ---------------------------------------- Feature #8793: Ruby 2.0 and Threads under HPUX https://bugs.ruby-lang.org/issues/8793#change-41571 Author: michal@rokos.cz (Michal Rokos) Status: Feedback Priority: Normal Assignee: Category: Target version: Use of Threads under HPUX currently raise rb_eNotImpError ("ruby engine can initialize only in the main thread") since the STACKADDR_AVAILABLE is not available. This brings basic support for the get_stack() under HPUX. This patch also resolves issue under HPUX where signals usually cause the coredump since the stack size is too small. It seems that the patch is valid not only for Ruby 2.0, but also for Ruby 1.9. -- http://bugs.ruby-lang.org/