Personal tools
You are here: Home Software CAMP slow controls rt95 rt95_poster_www node5.html

node5.html

by admin last modified Mar 02, 2016 04:32 PM



next up previous
Next: Future Up: The CAMP Slow Control Previous: Tcl Instrument Drivers

Multithreaded Server - v1.3 Summer 1995

  • Slow instruments (500 ms response) and synchronous I/O make response of server slow.

    Make server multithreaded or do asynchronous I/O.

  • DECthreads provides convenient data locking mechanism.

    Use multithreading with DECthreads.

  • Processing of multiple RPC requests concurrently not simple to implement, but can do multiple polling I/Os and one RPC request concurrently (see Fig. gif).

    Improves response sufficiently.

      
    Figure: CAMP Server - Multithreaded

  • Now use DEC C with reentrant run-time library.
  • Modify instrument drivers for asynchronous I/O.



Data Acq. Group
Sun Oct 15 01:38:28 PDT 1995
Document Actions