[Swift-devel] RFF (request for feature)

Mihael Hategan hategan at mcs.anl.gov
Tue Feb 5 14:21:01 CST 2008


You can probably simulate lots of these with arrays. For example:

int queue[];

foreach i in [0:100] {
  queue[i] = ...;
}

foreach x in queue {
  f(x);
}

On Mon, 2008-01-28 at 15:51 -0600, Tiberiu Stef-Praun wrote:
> Hi gang,
> 
> I find myself in the need for a queuing facility in swift with the
> following operations:
> 
> createQ
> submitQ(function)
> triggerQ(function, #jobs in queue) - to signal empty queues, for instance
> deleteQ
> 
> I would think that in addition to atomic functions and composite
> functions, we will have the queue facility acting as an intermediary.
> 
> Is any of this possible/doable in a data-flow language ?
> 
> Thanks
> Tibi
> 




More information about the Swift-devel mailing list