Difference between revisions of "Nxt-python-threads"

From Earlham CS Department
Jump to navigation Jump to search
(New page: === Thread Basics === * Computing device - CPU, RAM, persistant store (two ARM CPUs, etc. in the NXT) * Stored program; Fetch, decode, execute * Execution context - instructions, data, pr...)
 
Line 1: Line 1:
 +
Back to [https://wiki.cs.earlham.edu/index.php/Robotics-2010 Robotics Main Page]
 +
----
 
=== Thread Basics ===
 
=== Thread Basics ===
 
* Computing device - CPU, RAM, persistant store (two ARM CPUs, etc. in the NXT)
 
* Computing device - CPU, RAM, persistant store (two ARM CPUs, etc. in the NXT)

Revision as of 12:27, 24 February 2010

Back to Robotics Main Page


Thread Basics

  • Computing device - CPU, RAM, persistant store (two ARM CPUs, etc. in the NXT)
  • Stored program; Fetch, decode, execute
  • Execution context - instructions, data, program counter, stack
    • Processes have all 4 (instructions, data, program counter, stack)
    • Threads have PC and stack with shared ins and data
  • Workshop analogy
  • Concurrency and locking

Basics of threads in Python