 /// A Thread that executes some runnable block.
 ///
 /// All methods exposed are thread-safe.
-public final class Thread {
+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.
    public var isCurrent: Bool {
        return pthread_equal(pthread, pthread_self()) != 0
    }
}

    }
    
    /// Get current name of the `Thread` or `nil` if not set.
    var name: String? {
        get {
            // 64 bytes should be good enough as on linux the limit is usually 16 and its very unlikely a user will ever set something longer anyway.
            var chars: [CChar] = Array(repeating: 0, count: 64)
