You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2021/10/31 10:11:00 UTC

[jira] [Created] (DISPATCH-2271) Implement win32/threading.c

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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org