( micsa | 2024. 08. 22., cs – 20:20 )

 

a megszakítás megszakítja az éppen futó thread-et és lefuttatja az megszakítás handlert... nem egy másik threadet...

 

Wiki: In computer science, a thread of execution is the smallest sequence of programmed instructions that can be managed independently by a scheduler, which is typically a part of the operating system.

az ISR-re igaz ez? "can be managed independently by a scheduler"

nem

 

a java doksidból:

Every thread has a priority. Threads with higher priority are executed in preference to threads with lower priority.

igaz valami ezekből egy ISR-re? "Every thread has a priority. Threads with higher priority are executed in preference to threads with lower priority. Each thread may or may not also be marked as a daemon. When code running in some thread creates a new Thread object, the new thread has its priority initially set equal to the priority of the creating thread, and is a daemon thread if and only if the creating thread is a daemon."

nem

 

tehát Mr. dlaszlo keveri a fogalmakat?

igen

 

tehát az ISR nem thread, te pedig pont olyan vagy, mint bzt: nem bírod beismerni, ha tévedsz