[SCore-users] Developing with PM

Atsushi HORI hori at swimmy-soft.com
Wed Nov 13 23:50:36 JST 2002


Hi.

>What is the supposed way to attach a context if the context can have
>multiple FDs in the device?  (pmAttachContext() accepts only one fd.)

Just call the pmCreateAttachFd(pmContext *pmc, int *fdp) function. 
The pmGetFd() function returns the fds to wait with select() or 
poll(), not for attaching PM context.

----
Atsushi HORI
SCore Developer
Swimmy Software, Inc.




More information about the SCore-users mailing list