GLib (via GThread) provides an abtraction over common threading implementations: POSIX, Solaris.
Code can be written to run with or without thread support.
Libraries can be written to run correctly whether or not threads have been initialised.