I am writing a multi-threaded program under Unix Solaris. The program
creates multiple threads ( each which forks a child process) using
thr_create(). The parent thread waits for the child thread (using thr_join)
before creating any more threads. But I am getting a
free_stack: munmap Invalid argument error when new threads are created.
Is the stack_size argument in thr_create() to small or is this a memory
problem within the program ?
Thanks in advance,