[SCore-users] Developing with PM

Masao Uebayashi uebayasi at pultek.co.jp
Wed Nov 13 20:30:48 JST 2002


Hello,

I have another dumb question. :-)

> >As far as I read the code, an fd is accosiated with a context by the
> >device number of the device file opened by a process.  System calls
> >like poll() can identify which context the fd (or `struct file' in the
> >kernel) directs to only by knowing the fd's device number.
> 
> No. This is true and untrue. In PM/Myrinet case, this is true. It 
> depends on implementation of a PM device.

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

Masao



More information about the SCore-users mailing list