Skip to content

SyncMutex: 'Mutex could not be created' on Windows #12

@MacGritsch

Description

@MacGritsch

I have tested the sync-module and specially the SyncMutex-class on Windows (PHP 8.3.x X64 TS).
It worked fine but after around one day, creation of Mutex fails with the exception "Mutex could not be created".
Is this something known?
In sourcecode I see that CreateMutexA() is used on windows. There seems to be no call to GetLastError(), so no idea why it fails creating the Mutex.
Could this be added?
I can not compile the module for Windows by myself, but I compiled it on macos and there it works fine.

Thank you for your grat work!

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