I just passed the handle of the semaphore to the new thread constructor. All seems to work.
Re: Can't Compile Global Semaphores?
Adam D. Ruppe via Digitalmars-d-learn Mon, 08 Oct 2018 10:55:45 -0700
I recently rewrote some of my threading code in cgi.d and used
the core.sync.semaphore with core.threads... never once used
shared or __gshared.
- Re: Can't Compile Global Semaphor... Matt Richardson via Digitalmars-d-learn
- Re: Can't Compile Global Sem... rikki cattermole via Digitalmars-d-learn
- Re: Can't Compile Global Sem... Adam D. Ruppe via Digitalmars-d-learn