libZVT and threads



hello,

I have problem with ZvtTerm and pthreads. These are some situations:

0. start a program
1. zvt_term_forkpty
it works.

0. start a program
1. pthread_create
2. zvt_term_forkpty (hangs)

0. start a program
1. zvt_term_forkpty
2. pthread_create
3. zvt_term_forkpty
4. (child) execv (hangs)

I compile my program with _REENTRANT defined and I do not use any
mutexes.

why it doesn't work?
-- 
Krzysztof Garus <kgarus bigfoot com>               Linux User 171721
http://www.bigfoot.com/~kgarus



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]