Implemented atomics for gcc & clang (on posix).
Implemented shared libraries for posix.