I need to write a daemon, like the windows service on os x, using the c lens. Can someone point to some sample? or tell me how to do this?
It’s best to write your program so that it runs in the foreground, and then use external tools and methods (such as running OS X) to run them separately. This makes it easy to test and integrate your program.
Source: https://habr.com/ru/post/1724626/More articles:Is there a way to make the window fixed? - javaWriting a daemon in c lens - daemonHudson slave serving several hudson masters? - continuous-integrationWhat is the difference between Boost.MPI and Boost.Interprocess? - c ++What is this for a loop? - c ++Using static data structures for DMA - linux-kernelThe reason for the special streamlining of division and multiplication in C ++ is c ++How to show hints in Qt - qtFast random selection algorithm - algorithmUsing external joins in HQL queries - javaAll Articles