[saga-rg] Re: Meeting Notes: Messaging API

Andre Merzky andre at merzky.net
Tue Nov 22 23:48:12 CST 2005


Hmm, that is what I initially wanted to say :-)  I should
have marked in/out params more clearly...

A.


Quoting [John Shalf] (Nov 22 2005):
> 
> Whoops,
> then we really need
> 	a) size is not known, so we do two step
> 	int getMessageSize(handle);
> 	<malloc by application>
> 	int read(handle,buffer,size)
> 
> 	b) size is not known, but we let implementation malloc automatically
> 	char *readAutoAllocate(handle);
> 
> 	c) size is known, so we just do a one-step read
> 	int read(handle,buffer,size);
> 	



-- 
+-----------------------------------------------------------------+
| Andre Merzky                      | phon: +31 - 20 - 598 - 7759 |
| Vrije Universiteit Amsterdam (VU) | fax : +31 - 20 - 598 - 7653 |
| Dept. of Computer Science         | mail: merzky at cs.vu.nl       |
| De Boelelaan 1083a                | www:  http://www.merzky.net |
| 1081 HV Amsterdam, Netherlands    |                             |
+-----------------------------------------------------------------+





More information about the saga-rg mailing list