![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Threads and Threads Count ? | varungupta | UNIX for Advanced & Expert Users | 2 | 03-21-2008 09:23 PM |
| Wall, Write, select users, pipe a text file, HELP Before I'm Bald! | chimodel | UNIX Desktop for Dummies Questions & Answers | 1 | 03-13-2008 05:50 PM |
| Problems with pipe(...); using select(...); | ne2000 | High Level Programming | 0 | 01-12-2006 04:18 PM |
| Pipe SQL select statement results to script | houtakker | UNIX for Dummies Questions & Answers | 6 | 10-31-2003 01:20 PM |
| How to use pipe() in multiple threads? | wminghao | High Level Programming | 2 | 08-15-2002 10:27 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Threads with pipe and select?
Hi. I just found this site while searching for some info on a problem and thought I'd see if anyone else knows the answer.
I have two threads that are connected by a pipe. Thread A can write to the pipe and Thread B can read the data from the pipe. My problem is that when I use select() in Thread B to detect if the pipe is read ready, the select never returns. (It works with actual separate processes) Is there something special I need to do or don't know about here? Thanks, Willi |
|
||||
|
I have happily used this technique on linux(2.4+), Irix 6.5, Solaris 6 upwards, AIX 5.1, Tru64 5.1 and HPUX-11.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|