I agree. The article is crap. Too bad for IBM, cheap indian programmers should continue coding in VB and stay away from Linux/UNIX.
The main problem is that there is a race between two calls to shm_open(). There should be one call that either opens existing shared memory or creates one atomically.
Another problem is OO went wild. The authors seem to have read to much of OOP crap and went crazy with needless encapsulation.
The main problem is that there is a race between two calls to shm_open(). There should be one call that either opens existing shared memory or creates one atomically.
Another problem is OO went wild. The authors seem to have read to much of OOP crap and went crazy with needless encapsulation.