Annotations of compilation time for the example @Implement

Annotations of compilation time for the example @Implement
 
 
We all like to catch errors at the compilation stage, instead of runtime exceptions. They are easiest to eliminate, the compiler itself shows all the places that need fixing. Although most problems can only be detected when the program is started, we try to do this as soon as possible. here and here . The most important method in it is process. In which we can get a list of all the annotated elements and conduct the necessary checks.
 
 
@Override
public boolean process (Set
, returned by the getClass () method. For example, they can be compared to find out if the types ...
+ 0 -

Debugging multithreaded programs based on FreeRTOS

Debugging multithreaded programs based on FreeRTOS

 
Debugging multitasking programs is not easy, especially if you are faced with this for the first time. After the joy of launching the first task or the first demo of the program, from the infinitely disturbing observation of the LEDs, each of which blinks in its own task, the time comes when you realize that you understand very little ( , You do not get at all ) about what is actually happening. Classics of the genre: "I allocated 3KB to the operating system and launched only 3 tasks with a 128B stack, and for the fourth time, for some reason, there is not enough memory" or "How many stacks should ...
+ 0 -