Jiri Daněk created DISPATCH-2271:
------------------------------------

             Summary: Implement win32/threading.c
                 Key: DISPATCH-2271
                 URL: https://issues.apache.org/jira/browse/DISPATCH-2271
             Project: Qpid Dispatch
          Issue Type: Sub-task
            Reporter: Jiri Daněk


The possible APIs to use are
# openmp
# boost
# pthreads for windows
# windowsthreads

Boost and pthreads for windows would be extra dependencies. Boost would require 
C++.

Here is a blog which shows such wrapper done with WindowsThreads, 
https://nachtimwald.com/2019/04/05/cross-platform-thread-wrapper/. There is 
nothing surprising in it, except for the {{exclusive}} flag for SRWLock which I 
did not figure by myself (I was not sure if it is enough to handle all 
transitions).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to