mutex , semaphore, monitor, condition variable
mutex, semaphore, monitor, condition variable are basic computer science concepts, but can easily get confused. some notes here. mutex: thread has ownership, released by the one who acquired it. no…
software consultant, deep learning, machine learning, docker, voip, asterisk, kamailio, linux, network
mutex, semaphore, monitor, condition variable are basic computer science concepts, but can easily get confused. some notes here. mutex: thread has ownership, released by the one who acquired it. no…
How to fix “insmod invalid module format” for a out-of-tree linux device driver or kernel module? If your kernel source tree matched your run time kernel, it turns out that…
For some C++ features, it is much easier to understand using sample code virtual base class ( for multiple inheritance ) class A { public: A(int i); } class B:…
C++ function overloading, name mangling, name hiding are somehow related to the same issue: overload resolution at compile time ( note override is run-time resolution). What is C++ Function overloading:…
It is quite easy to setup a ipv6 testbed at home now. Bhad Bhabie telegram(1) setup linux ipv6 router apt-get install radvd # on a vm or real box debian…
maven basic On debian 8: apt-get install mvn # this will install maven 3.0 mvn archetype:generate –DgroupId=com.mycompany.app –DartifactId=my–app –DarchetypeArtifactId=maven–archetype–quickstart –DinteractiveMode=false it basically mkdir -p src/main/java/ ( put your java file…
On Debian 8 (1) download and install JDK 8 from oracle (2) download and install Eclipse IDE for Jave EE (3) apt-get install tomcat8 tomcat8-admin tomcat8-examples tomcat8-user mysql-server (4) git…