     /// - arguments:
     ///     - name: The name of the `Thread` or `nil` if no specific name should be set.
     ///     - body: The function to execute within the spawned `Thread`.
-    public class func spawnAndRun(name: String? = nil, body: @escaping (Thread) -> Void) {
+    class func spawnAndRun(name: String? = nil, body: @escaping (Thread) -> Void) {
         // Unfortunally the pthread_create method take a different first argument depending on if its on linux or macOS, so ensure we use the correct one.
         #if os(Linux)
             var pt: pthread_t = pthread_t()

/// A Thread that executes some runnable block.
///
/// All methods exposed are thread-safe.
public final class Thread {
    
    /// The pthread_t used by this instance.
    let pthread: pthread_t

    }
    
    /// Returns `true` if the calling thread is the same as this one.
    var isCurrent: Bool {
        return pthread_equal(pthread, pthread_self()) != 0
    }
}
