Did I find the right examples for you? yes no

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)
=======================
Thread based components
=======================

A threaded component is like an ordinary component but where the main() method
is an ordinary method that is run inside its own thread. (Normally main() is
a generator that is given slices of execution time by the scheduler).

This is really useful if your code needs to block - eg. wait on a system call,
or if it is better off being able to run on another CPU (though beware python's(more...)

src/k/a/kamaelia-HEAD/Sketches/MH/exceptions/Axon/__init__.py   kamaelia(Download)
import debugConfigFile
import Box
import ThreadedComponent
import Introspector
 

src/k/a/kamaelia-HEAD/Sketches/MH/exceptions/Axon/Handle.py   kamaelia(Download)
# their outbox to inbox, and signal to control to form the Pipeline chain.
 
import ThreadedComponent
import time
import Queue

src/k/a/kamaelia-HEAD/Sketches/MH/Speex.py   kamaelia(Download)
from sys import path
path.append("../../MH/Timer")
import ThreadedComponent
 
# class speex:

src/k/a/kamaelia-HEAD/Sketches/JTL/ThreadedTCPClient.py   kamaelia(Download)
from Queue import Queue,Empty
import threading
import ThreadedComponent
#from Kamaelia.Internet.ConnectedSocketAdapter import ConnectedSocketAdapter
#import Axon.CoordinatingAssistantTracker as cat

src/k/a/Kamaelia-0.6.0/Axon/__init__.py   Kamaelia(Download)
import debugConfigFile
import Box
import ThreadedComponent
import Introspector
 

src/k/a/Kamaelia-0.6.0/Axon/Handle.py   Kamaelia(Download)
# their outbox to inbox, and signal to control to form the Pipeline chain.
 
import ThreadedComponent
import time
import Queue