Attached is a proposed patch to complete moving the various THREADS related stuff into the new package.
This patch removes the Gates implementation, as the new SYNCHRONIZED-ON and OBJECT-NOTIFY primitives provide more appropriate (i.e. more JVM specific) abstractions.
If Tobias and Erik could check that this patch is what they want to have happen, I'll commit it.