Subject: RE: SDL-News: how to define a Queue?
From: Bhaskar Rao (gbr#miel.mot.com)
Date: Mon Aug 14 2000 - 03:52:18 GMT
Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From Bhaskar Rao <gbr#miel.mot.com> to sdlnews -----
Hi,
another idea:
Define the Queue ADT type in C and Export the data types and operators to
SDL through H2SDL (if you are using Tau, otherwise similar way). We usually
do like this.
Br..
gbr
-----Original Message-----
From: VINCENT Daniel FTRD/DTL/LAN
[mailto:daniel.vincent#rd.francetelecom.fr]
Sent: Thursday, August 10, 2000 3:39 PM
To: 'Bi Hai'; SDL mail
Subject: RE: SDL-news: how to define a Queue?
Become an SDL Forum Society member
<http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From VINCENT Daniel FTRD/DTL/LAN <daniel.vincent#rd.francetelecom.fr>
to sdlnews -----
You should rather use the "string" generator with which you can handle
things very similarly to lists (like in Lisp) provided
you use or define the good operations on that type.
> -----Message d'origine-----
> De: Bi Hai [SMTP:bih#catt.ac.cn]
> Date: jeudi 10 août 2000 03:01
> À: SDL mail
> Objet: SDL-news: how to define a Queue?
>
> Hello, SDL experts:
> I now have little knowledge about how to define a Queue newtype in
> SDL.
> The declaration of Queue used for storing PDUs as they arrive. I know the
> PDU can be defined as Octet_String type. So I wonder whether I can define
> a Queue as :
> newtype Queue array(integer,Octet_String)
> endnewtype
> Can anyone give me some sugestions and more details about how to define a
> Queue in SDL?
>
> Thank you in advance
> Bi Hai
> CATT/China
-----End text from VINCENT Daniel FTRD/DTL/LAN
<daniel.vincent#rd.francetelecom.fr> to sdlnews -----
For extra SDL Forum Society benefits, join at
<http://www.sdl-forum.org/Society/members.htm>
For help, email "majordomo#sdl-forum.org" with the body of your email as:
or (iff this does not answer your question) email:
owner-sdlnews#sdl-forum.org
-----End text from Bhaskar Rao <gbr#miel.mot.com> to sdlnews -----
For extra SDL Forum Society benefits, join at <http://www.sdl-forum.org/Society/members.htm>
This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:49 GMT