Fixed sigsegv errors when attaching shm
Merge branch 'debug' into cont-work
What is done so far...
Implementation on one mutex. Should work properly
Full set of semaphores active. Works for basic cases. Added simple timeout.
Fixed some bugs. Roughly tested.
Added timeout
Added some comments, moved messages to "debug mode"
Merge pull request #2 from serathius/cont-work

Cont work