May I try? :D
Pretty much everything outside of threading is really trivial. The
wiki says the supported platforms are Windows, OSX, and Linux, and
that it runs under Solaris and OS/2 but they aren't officially supported.
For atomics, glib seems to use GCC's C++11-style atomics. when it can,
then it falls back to either GCC/Clang's built-in __sync atomic
operations or Windows's atomic API.
For normal threads, glib uses pthreads on Posix and Windows threads
on...Windows.
Maybe I'm just super nerdy, but this seems totally doable. ;)