linux - Is PTHREAD_STACK_MIN defined differently in Ubuntu 10.04 then on Ubuntu 9.04? -



linux - Is PTHREAD_STACK_MIN defined differently in Ubuntu 10.04 then on Ubuntu 9.04? -

first seems if location of definition has changed: in 9.04 somewhere through pthread.h , in 10.04 through limits.h (can please confirm it? defined in each version?)

second, have values changed between 2 versions?

thanks

ben

you should include <pthread.h> , should include pthread_stack_min definition, straight or indirectly. can't check ubuntu, searching in glibc sources http://www.google.com/codesearch#search/&q=%22define%20pthread_stack_min%22%20glibc&type=cs&p=1 shows in pthread.h , in bits/local_lim.h.

this typically 16 kb x86 , bigger mips , itamium.

update: hmmm.. wrong. definition moved <limits.h> (indirectly), should include both files.

linux pthreads ubuntu-10.04 ubuntu-9.04

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -