using vibe listenHTTP in a library on OSX causes: core.sync.exception.SyncError@(0): Unable to lock mutex.
Jacob Carlborg
doob at me.com
Fri Dec 1 10:40:00 UTC 2017
On 2017-12-01 01:46, Timothee Cour wrote:
> I get: core.sync.exception.SyncError@(0): Unable to lock mutex.
> when calling listenHTTP via a library. It works when compiling
> everything in a single application without using intermediate library.
>
> details:
>
> using: dmd:2.077
>
> dub build
>
> dmd -ofmain -L-Ldir -L-ltest1 -Isource import/main.d
Your example doesn't link since it doesn't link with vibe.d.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list