[Cbe-oss-dev] [PATCH 2/3] libspe2: Fix blocking in spe_in_mbox_write w/ SPE_MBOX_ANY_NONBLOCKING

Kazunori Asayama asayama at sm.sony.co.jp
Mon Apr 16 11:28:48 EST 2007


Arnd Bergmann <arnd at arndb.de> wrote:
> I'd propose instead to have two separate file descriptors, one for
> blocking and one for non-blocking access. You'd still open them
> only on first use, so most applications should not waste additional
> resources, but you can always transfer your data with a single
> syscall.

Ah, it sounds good. I suppose that in many case just one behavior is
used for each SPE context as you're saying. I'll try your proposal.

-- (ASAYAMA Kazunori (asayama at sm.sony.co.jp)) t



More information about the cbe-oss-dev mailing list