-->

__Init__.Py Explained

__Init__.Py Explained



The library modifies the user-supplied __init() by wrapping it in such a way that: 1. It will run exactly once per object. This is specially necessary in the case of multiple shared inheritance, when a shared base object may be accessed following more than one path, in order to protect the object against multiple initialization. In our example …

In the initialization of network equipment section, there is a special macro not speak, static int __init net_dev_init(void) The bold __init, if often see a driver or kernel code, can often see, certainly in the drive module initialization function, we will often see.It belongs to the special macro label, in the gcc compiler will be special treatment.

??????????? ? ?????????? ????????? ???????? ?????. ? ??? ?? ?????? ?????? ???????????? ? ??????: ?? ????????? ? ??????????????? ?? ???????? ? ???????????.

3/8/2013  · The Eclipse Foundation – home to a global community, the Eclipse IDE, Jakarta EE and over 350 open source projects, including runtimes, tools and frameworks.

Thus, from the OS point of view, there is nothing to be done. In particular, there is the implicit assumption that everything in front of the “empty” descr must surely also be empty, as explained in the last section. The OS is waiting for descr 255 to become non-empty, which, in this case, will never happen.

Advertiser