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 ...michal@rokos.cz (Michal Rokos)
nobu (Nobuyoshi Nakada) wrote: > Thank you, and does this patch work? Patch compiles, but the 'make test' started to fail again, since the PTHREAD_STACK_MIN got back: ~~~ sample/test.rb:signal sendsig: useracc failed. 0x200000...michal@rokos.cz (Michal Rokos)
Nobu, the merged patch (that is currently in the trunk) does not compile: ~~~ compiling thread.c "thread_pthread.c", line 528: warning #2223-D: function "gettune" declared implicitly if (gettune("vps_pagesize", &...michal@rokos.cz (Michal Rokos)
On systems, I have a access to, the vps_pagesize is set to 16. > /usr/sbin/kctune -v vps_pagesize Tunable vps_pagesize Description Default user page size (kBytes) Module vm Current Value 16 [...michal@rokos.cz (Michal Rokos)
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 a...michal@rokos.cz (Michal Rokos)
HP-UX needs sys/pstat.h for missing/setproctitle.c Check for HAVE_SYS_PSTAT_H is already in place so only request to check for sys/pstat.h in configure. Should be backported to 1.9 and 2.0.michal@rokos.cz (Michal Rokos)