Hello,
I was looking for some help on using the select() system call and I've found this topic.
My problem is about a multi-threaded application getting stuck (all pthreads generated by this application) when it enters a select which should sleep on a tty. Both the tty driver and the peripheral are custom made. Both worked on an older kernel version: the problem raised this year when we tried to port the system to v 2.6.28 and still persists on v 2.6.30
The thing which upsets me is that the application could hang for an indefinite time until I make some collateral traffic, e.g. : opening another shell via telnet and launching a top, pressing some buttons (another custom couple of IP and driver).
In case someone would like to help me, what do you need? Which info? (code snippets, sources, info about kernel compilation options... just tell me)
Thanks in advance,
gabrigob