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.

I just passed the handle of the semaphore to the new thread constructor. All seems to work.

Reply via email to