Electron microscopy
 
threading.Thread()
- Integrated Circuits -
- An Online Book -
Integrated Circuits                                                                                   http://www.globalsino.com/ICs/        


Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

=================================================================================

============================================

Turn on and off with mouse press: code:          
          Turn on and off with mouse press
Output:         
          Turn on and off with mouse press

============================================

Without Threading, it needs more than 2 seconds to complete the two waiting tasks below; however, with Threading, it takes less than 2 seconds: code:          
          Turn on and off with mouse press
Output:         
          Turn on and off with mouse press

============================================

Use threading and its arguments to complete more tasks: code:          
          Turn on and off with mouse press
Output:         
          Turn on and off with mouse press



         
         
         
         
         
         
         
         
         
         
         
         
         
         

 

 

 

 

 

 

 

 

 

 

=================================================================================