Quoth Daniel Feiglin: > My strategy is to have each fd read into a bit of shared memory, post a > "got something" semaphore and return. You do it with 5 little if() > paragraphs (error handling aside), reset the read bit mask (always the > same) and back to select.
How many consumers? If you post a sem, someone is waiting on it... I assume your consumer then employs the retrieved data and posts it back? you need to see tolerances in the fast thread. M -- ---MAV Marc A. Volovic [EMAIL PROTECTED] Swiftouch, LTD +972-544-676764 ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
