| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
There's some code I need to port that contains calls to
poll
Although the man pages describe poll, it actually isn't available in
current Darwin builds. I was directed to use
select
as a replacement. However, both these suckers are new territory to me.
Can someone offer advises on wrapping select to act like poll, or on
replacing poll altogether?
I wrote a drop-in replacement for poll.h that I've used several times
when porting to Darwin / Mac OS X. It's not very fast and takes 4K of
stack space, but it is thread-safe and can handle any number of file
deescriptors up to the kernel per-process maximum.
http://www.sealiesoftware.com/fakepoll.h
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.