How to Use "thread" with Example Sentences

1. Note that this code is fully thread safe .
2. It is very lightweight and not thread safe .
3. What about using a function with parameters in a thread ?
4. Indexing and searching are not only thread safe , but process safe .
5. Each thread has its own sequence of execution , but accesses common data .