Skip to content

Which thread does amsmb2 run on #85

@seventeenYear

Description

@seventeenYear
 let credential = URLCredential(user: user, password: password, persistence: URLCredential.Persistence.forSession)
        client = AMSMB2(url: self.serverURL, credential: credential)!
        
        // AMSMB2 can handle queueing connection requests
        client?.connectShare(name: self.share) { error in
            if let error = error {
                print("SMBClient ConnectShare",error);
            }
        }

The above is the code for initializing and connecting SMB. I want to know which thread this is running on? How can I set it to run on other threads? Can I use multiple threads to read files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions