线程

線程
xiànchéng
noun

Measure Word

Meanings

  1. 1 thread (of a computer program)

Examples

HSK 5
Zhège chéngxù tóngshí kāi le sì ge xiànchéng.
This program runs four threads at the same time.
HSK 7-9
Yí ge jìnchéng lǐ kěyǐ yǒu duō ge xiànchéng, tāmen gòngxiǎng tóngyī kuài nèicún.
A process can contain several threads, and they share the same memory.

Tips

usage
A 进程 'process' is a running program, and a 线程 is one line of execution inside it. Hence 多线程 'multithreaded' and 单线程 'single-threaded'. Not to be confused with 线索 'clue'.

Stroke Order

线 xiàn
程 chéng