Re: Implementing the non-blocking pipes API

From: Per Bojsen <bojsen_at_.....>
Date: Mon Mar 13 2006 - 07:44:46 PST
Hi,

I have enclosed an update to the SCE-MI pipes non-blocking API
implementation.  Changes include:

  1) Fixed bug in handling of EOM on the receive side (consumer
     side).  This bug resulted in EOM having incorrect values on
     the receive side of pipes.

  2) Fixed how the notify callbacks are done to match my current
     understanding based on John's feedback at the last meeting.
     Added HDL side callbacks.  Notification is now done to the
     other side of a pipe whenever the state changes, i.e., on
     send when data has been transferred successfully to the pipe,
     and on receive when data has been removed successfully from
     the pipe.

  3) Added bytes per element restriction to the interface.  The
     bytes per element is now a fixed value per pipe which is
     set on the first use of the pipe that includes a bytes per
     element argument.  Subsequent uses will check that the bytes
     per element is consistent with prior uses.

  4) Fixed bug in the test that allowed the last two loops to
     go beyond the end of the 1024 word data buffer.  I stress
     that this was a bug in test and not the pipe API
     implementation.

So far I've been testing the code on an AMD64 64-bit Debian Linux
platform.  I plan to test it out on IA32 32-bit Red Hat Linux soon.
Stay tuned.

Enjoy,
Per

-- 
Per Bojsen                                Email: <bojsen@zaiqtech.com>
Zaiq Technologies, Inc.                   WWW:   http://www.zaiqtech.com
78 Dragon Ct.                             Tel:   781 721 8229
Woburn, MA 01801                          Fax:   781 932 7488
Received on Mon Mar 13 07:44:50 2006

This archive was generated by hypermail 2.1.8 : Mon Mar 13 2006 - 07:45:04 PST