The GTK+ port currently uses the pthread implementation. This can be re-implemented using the GLib threading API to provide greater portability.
I have a patch for this that's 90% done. Just needs some minor tweaking before review.
Created attachment 16777 [details] Patch
Landed in r26864.