“Going into the bathroom, Angela forgot to take a robe with her. Usually she can go into the room and in an undressed form, but while she was in the bathroom, Anton came to visit, to whom Angela should give the flash drive, which lies in her purse. Anton himself refuses to climb into her purse, and demands that the flash drive be given to him by Angela. Without a flash drive, he will not leave. Angela can't go to the room while Anton is there. Anton is waiting for him to give him a flash drive, Angela is waiting for Anton to leave, after which she can go out and give the flash drive. ”What kind of nonsense - you thought? But the regulars of the thematic blog
System Programming have already realized what they are talking about. Those who are faced with parallel programming, the situation is familiar to the pain - this is a typical
interlock (Deadlock).
Last year, we in the Intel Software Network staged a comic contest “
Explain on fingers ” - it was necessary to come up with a ridiculous explanation of several “special” terms. The people are great ottyanulsya! Here I also really liked:
')
“When in hockey the judge controls that during the next change of the fives, there was no excess of the number, that is, in a fit of sports distance, the whole team led by coach, masseur and uncle Vasya - skate grinder jumped onto the ice”Guess the term? (answer under habrakatom).
Since hot and almost dry weather was established in the central part of Russia, we decided to briefly distract you from the debugger and have a little fun. So, “Explain on fingers v2.0” is a new bundle of terms for interpretation and, of course, the prize for the cleverest is the Lenovo IdeaPad netbook.
A hockey judge is, of course, a semaphore. Here is a
list of the best explanations of the past competition.
For the second version, my colleagues and I picked up a few more abstract concepts:
- Data decomposition & Functional decomposition
- SIMD & MIMD
- Multitasking & Multithreading
- Busy waiting thread & Sleeping thread
- Thread pool
- Context switching
Link to the full text of the task
The winner will receive our main prize: a white and white netbook Lenovo IdeaPad S10. Exactly the same as in the picture, but different. There are a couple of surrogate
prizes .
Already have options? Then welcome to the
forum . Although ... Wait a minute. I did not forget to say that having a sense of humor is a prerequisite for participation in the competition? Said? Then it is necessary to tell to tell about other conditions: the explanations should be rather short and extremely correct. That is, such that even your grandmother understands the difference between multitasking and multithreading.
I must say that the task is not as simple as it seems. Take, for example, a pool of threads. An analogy with the Call Center immediately comes to mind, right? But, strictly speaking, you need to somehow explain that the thread pool is designed just to reduce the costs of creating and deleting threads, in this case, the costs of calling employees to work. This is me, just in case ... Well, with a sense of humor, this explanation is rather weak IMHO.
Let's break down stereotypes and prove that even the most severe programmers have a sense of humor and creativity!
"
Explain on fingers v2.0 "
Good luck to all!