Re[2]: poll() function
Re[2]: poll() function
- Subject: Re[2]: poll() function
- From: Ilfak Guilfanov <email@hidden>
- Date: Mon, 31 Jul 2006 15:10:29 +0200
- Organization: Datarescue sa/nv
Monday, July 31, 2006, 3:00:05 PM, you wrote:
>> I'm trying to read characters from the terminal while doing other
>> things. The following simple program checks if a character is
>> ready from the keyboard. For some reason it doesn't work.
PR> Maybe this is the cause?
PR> http://lists.apple.com/archives/darwin-dev/2005/May/msg00220.html
Thank you, it seems so. The poll() function is broken on x86 but it
works well on PPC. I switched to the select() function and my
application runs fine now.
--
Best regards,
Ilfak mailto:email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden