Or maybe not. There's a web page with browsable code, and a CPU routine [link|http://lxr.mozilla.org/seamonkey/source/gc/boehm/os_dep.c|here].
It's pretty messy and is likely far more elaborate than you need... Going up the tree to .../boehm/ gives the other files in the build.
Good luck.
Cheers,
Scott.