This is a combination of programming and Linux question but I think it suits better here.
I am writing an application that works with ipcs
(shared memory segments) and after each running I am checking if any ipcs
are left using the bash command ipcs
. I noticed a lot more than I created so I thought they are part of the system software.
i decided to examine each one and see where it is connected. After closing the process each one is connected I noticed that one of the processes that is attached to a shared memory segment is the system clock. By system clock I mean the clock that tells the time down right of the panel (or up depending on how you set up things) and not the CPU clock. Why, out of all the processes that the system runs, does the clock need a shared memory segment?