home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 262.lha / FastPort / read.me < prev    next >
Text File  |  1989-07-07  |  1KB  |  23 lines

  1.  
  2.     Since AREXX is going to be included in the 1.4 version of the operating
  3. system, people were wondering what the effect might be of there being
  4. a large number of public message ports hanging around, particularly since
  5. the system does a Forbid() while searching the list. A tree was suggested,
  6. as well as a self-organizing list. Forunately, it was pretty easy to write
  7. a quick hack to change the search strategy. This program patches Exec to
  8. make FindPort and AddPort do hashing.
  9.     Everything seems to work fine. One side effect is that programs which
  10. scan through the port list (like XOPER or wack) to give you a list of
  11. what ports are active won't work any more. SO I also wrote a program
  12. "DumpPorts" which understands the hashing (and will give an idea of how well
  13. the hashing function is working).
  14.     To install, simply type "FastPort". After this, you can do a "DumpPorts".
  15.  
  16.     This still does a forbid() while searching. It might be an improvement to
  17. use a semaphore instead. In fact, since there are 32 different hash chains,
  18. there could be a semaphore for each one. This would make it pretty damn
  19. unlikely that any program would ever have to wait.
  20.  
  21.  
  22.     Chris.
  23.