+ 5
What is thread in simple meaning?
7 Antworten
+ 8
when you run your program, it executes your code sequentially on one thread. lets say you want to add another thread to execute a seperate code block while your main thread is running. that way
you can run two seperate code blocks at the same time.
This is especially useful in chat applications. you need to be able to receive chat messages from other users, but you also need to be able to send a message without interruption.
+ 6
English is not my native language.
Please excuse me regarding it.
hypothesis 1)
You are process (in simple language... CPU).
hypothesis 2)
Thread 1 is 'reading book'.
Thread 2 is 'writing down some words'.
You must do 'reading book' and 'writing down some words' simultaneously. How can you it?
You read book short time. Then you write some words for a second.
This is thread.
+ 5
a program divided in to many part , each part called thread and program contain multiple threads..one by one thread are executed... thread concept use in networking..
+ 3
A single sequence of execution within a program is thread.
eg. multimple tabs on google chrome where each tab is akin to a thread and browser is a program.
+ 2
Instead of excuting whole program at once , Theards are used. They split your program into different functions/parts for execution of program. Because of this you can do multi tasking or using 2 or more applications together.
+ 1
https://en.wikipedia.org/wiki/Thread_(computing)
+ 1
Thread is runable the simple interface.