■スレッドリストへ戻る■ 全部 1- 101- 201- 301- 401- 501- 601- 701- 801- 901- 1001- 最新50

read.cgi再開発スレ Part2

482 :◆cZfSunOs.U :2005/12/10(土) 02:12:29 ID:1jtGNzJ50
#include <pthread.h>
#include <stdio.h>
int main()
{
    size_t size;
    pthread_attr_t attr;
    pthread_attr_init(&attr);
    pthread_attr_getstacksize(&attr, &size);
    printf("%lu\n", (unsigned long)size);
    return 0;
}
----------------------------------------------------------------------
ってのを tiger (FreeBSD 5.3R) 上でやってみたら,libpthread / libthr ともに
65536 (64kB) だそうです.そりゃはみ出しますね......

284KB
新着レスの表示

スレッドリストへ戻る 全部 前100 次100 最新50

0ch BBS 2004-10-30