Questions tagged [linda]

Linda is a model of coordination and communication among several parallel processes operating upon objects stored in and retrieved from shared, virtual, associative memory.

Linda is a model of coordination and communication among several parallel processes operating upon objects stored in and retrieved from shared, virtual, associative memory.

This model is implemented as a "coordination language" in which several primitives operating on ordered sequence of typed data objects, "tuples," are added to a sequential language, such as C, and a logically global associative memory, called a tuplespace, in which processes store and retrieve tuples. The original Linda model requires four operations that individual workers perform on the tuples and the tuplespace:

  • in atomically reads and removes—consumes—a tuple from tuplespace
  • rd non-destructively reads a tuplespace
  • out produces a tuple, writing it into tuplespace
  • eval creates new processes to evaluate tuples, writing the result into tuplespace

Source: Wikipedia entry: Linda (coordination language)

4 questions
0
votes
1 answer

arrange messages by UID

i use this code for read mails. Lazy[] messages = ic.SearchMessages(mailcondition, headersOnly); Each message has a property called Value, and each value has its own properties, including UID. Now I'm going to arrange the…
Miss
  • 171
  • 1
  • 4
  • 10
0
votes
0 answers

Concurrent modification exception java (not dup)

edit: This is not a duplication. The other question linked is asking how to remove elements while iterating and not get the CME exception, in my question I don't want to iterate and remove elements at the same time. In fact I want to make sure that…
R-4
  • 75
  • 4
-1
votes
1 answer

adding to java collection

I have this code public class TupleSpace implements aTupleSpace { private Collection theSpace; public TupleSpace() { theSpace } public void out(aTuple v) { theSpace.add(v);} the .add causes an error, I think its either because…
R-4
  • 75
  • 4
-1
votes
1 answer

where can i find an implementation of the coordination language linda in c?

I am trying to find an implementation of the language in c that is actually based on the language standards ,here is a simple example #include "linda.h" int worker(int num) { int i; for (i=0; i
QuakeCore
  • 1,886
  • 2
  • 15
  • 33