home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / realtime / 1556 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.7 KB  |  49 lines

  1. Newsgroups: comp.realtime
  2. Path: sparky!uunet!psinntp!sunic!ugle.unit.no!ugle.unit.no!ojr
  3. From: ojr@itk.unit.no (Ornulf Rodseth)
  4. Subject: Re: novel idea?
  5. In-Reply-To: genillou@litsun.epfl.ch's message of 11 Jan 93 10:12:32 GMT
  6. Message-ID: <OJR.93Jan12093949@mons.itk.unit.no>
  7. Lines: 31
  8. Sender: news@ugle.unit.no (NetNews Administrator)
  9. Organization: Norwegian Institute of Technology / SINTEF, Trondheim, Norway
  10. References: <erempel.726720401@sol.UVic.CA> <5620@disuns2.epfl.ch>
  11. Date: 12 Jan 93 09:39:49
  12. Lines: 35
  13.  
  14.  
  15. In article <5620@disuns2.epfl.ch> genillou@litsun.epfl.ch (Guy Genilloud) writes:
  16. >    |> ...
  17. >    |> I am looking for an OS (real time obviously) that has the
  18. >    |> ability to swap a task from one cpu to another. This is merely
  19. >    |> ...
  20. >    |> Evan Rempel
  21. >    |> erempel@sol.uvic.ca
  22. > If the CPUs are different, it is more appropriate to speak of migrating objects
  23. > than to speak of swapping tasks. Look for papers on distributed systems and
  24. > migration for ideas on this subject.
  25. > ...
  26. > Guy Genilloud
  27. > EPF Lausanne, Switzerland
  28.  
  29. It should be relatively easy to generalize this in an event-driven
  30. system. In such systems all state should (in principle) be explicitly
  31. represented in "state variables". Further more, all processing and
  32. state changes are initiated by events.
  33.  
  34. You need a way to transfer state from one CPU to another in an
  35. architecture-independent way (e.g., XDR) and you need two or more
  36. identical set of event handlers (i.e., tasks), each compiled for its
  37. own CPU.
  38.  
  39. As long as you keep the state in sync and switch tasks at
  40. event-arrival boundaries you should be just fine.
  41.  
  42.  
  43.  
  44. --
  45. Ornulf Jan Rodseth M.Sc.    ojr@itk.unit.no
  46. SINTEF Automatic Control    +(47 7) 594351 (direct) / 594375 (switchboard)
  47. N-7034 TRONDHEIM, NORWAY    +(47 7) 594399 (fax)
  48.