Project

General

Profile

Actions

Feature #8793

closed

Ruby 2.0 and Threads under HPUX

Added by michal@rokos.cz (Michal Rokos) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:56645]

Description

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.


Files

hpux-ia64-threads.diff (2.06 KB) hpux-ia64-threads.diff michal@rokos.cz (Michal Rokos), 08/16/2013 04:01 PM
0001-thread_pthread.c-stack-info-on-HP-UX.patch (3.29 KB) 0001-thread_pthread.c-stack-info-on-HP-UX.patch nobu (Nobuyoshi Nakada), 08/31/2013 01:10 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0