Is there a way to determine the highwater mark for usage of a POSIX Thread's stack? I am trying to determine the appropriate stack size based on empirical executions of a thread so that I don't waste memory by allocating an unnecessarily large stack when creating a POSIX thread. Thanks in advance for any wisdom. Eric