Skip to content

Using on MacOS / iOS - semTrywait: invalid argument (Bad file descriptor) #218

@epoberezkin

Description

@epoberezkin

Hello!

Is MacOS/iOS supported?

I have:

test = do
  sem <- semOpen "/test" OpenSemFlags {semCreate = True, semExclusive = False} stdFileMode 1
  semThreadWait sem
  semPost sem

It fails on semThreadWait:

uncaught exception: IOException of type InvalidArgument
semTrywait: invalid argument (Bad file descriptor)

#43 suggests it might not be working on MacOS?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions