in reply to shared threading
The simple answer is that can't share a thread. Your question, as phrased, doesn't make much sense.
You can share things between one or more threads. These things can include individual variables, whole data structures, filehandles, pipes etc.
Some flavours of threads, in some languages and or some operating systems may allow (or deny) any or all of these things.
Before anyone can point you at an example of using threads, you will have to ask a much clearer question, and that probably means that you will need to get a much clearer idea of what threads are, and what it is that you want to do with them.
|
|---|