Skip to content

Not entirely portable use of usleep() in tests #15711

Closed
@rsbeckerca

Description

@rsbeckerca

I did this

Compiled curl with OpenSSL and c99 on NonStop x86, and got a compile error on usleep(100*1000). This function is only available in threaded code on NonStop. I need to use sleep(100) instead if not threaded.

Any objection if I put a pull request together for this?

I expected the following

Clean compile of the test suite.

curl/libcurl version

curl 8.11.0

operating system

NonStop L24.08

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions