From: IWAMURO Motonori Date: 1999-09-13T10:42:12+09:00 Subject: [ruby-list:16741] Re: native thread (Re: gtk + socket) 岩室@富士通です。 In message "[ruby-list:16728] Re: native thread (Re: gtk + socket)" on 99/09/13, Yukihiro Matsumoto writes: > pthreadにはスタックのアドレスをとるAPIがないように思いました。 Solaris2.xのman pageを見たところ、 man pthread_attr_init: > stacksize and stackaddr > The pthread_attr_setstacksize() and > pthread_attr_getstacksize() functions set and get the stack- > size thread attribute in the attr object. The stacksize > default argument is NULL, and a thread default stack size is > 1 megabyte. > > > The pthread_attr_setstackaddr() and > pthread_attr_getstackaddr() functions set and get the > stackaddr thread attribute in the attr object. The > stackaddr default is NULL. (See pthread_create(3T).) こんなんがあるみたいです。 -- 岩室元典 [E-Mail: vmi@kw.netlaputa.ne.jp / iwa@mmp.fujitsu.co.jp] ポチ「マルチってきもちいい?」 いわ「…………」 (ある日のポケピ(「どこでもいっしょ」for PlayStation)との会話より)