General

Profile

michal@rokos.cz (Michal Rokos)

  • Login: michal@rokos.cz
  • Email: michal@rokos.cz
  • Registered on: 08/16/2013
  • Last sign in: 07/01/2014

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

09/03/2013

07:29 PM Ruby Feature #8793: Ruby 2.0 and Threads under HPUX
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)
07:25 PM Ruby Feature #8793: Ruby 2.0 and Threads under HPUX
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)
06:19 PM Ruby Feature #8793: Ruby 2.0 and Threads under HPUX
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)

08/29/2013

08:08 PM Ruby Feature #8793: Ruby 2.0 and Threads under HPUX
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)

08/28/2013

09:05 PM Ruby Feature #8793: Ruby 2.0 and Threads under HPUX
Nobu, thank you for your effort. I am going to test trunk ruby soon and I will let you know. michal@rokos.cz (Michal Rokos)

08/26/2013

05:27 PM Ruby Feature #8793: Ruby 2.0 and Threads under HPUX
Nope, pthread_attr_init() populates default values. michal@rokos.cz (Michal Rokos)
04:53 PM Ruby Bug #8792: HP-UX needs sys/pstat.h for missing/setproctitle.c
Hello,
it seems that I forgot to include a patch for...
I am sorry for that.
Michal
michal@rokos.cz (Michal Rokos)

08/16/2013

04:01 PM Ruby Feature #8793 (Closed): Ruby 2.0 and Threads under HPUX
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)
03:59 PM Ruby Bug #8792 (Closed): HP-UX needs sys/pstat.h for missing/setproctitle.c
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)

Also available in: Atom