[ 
https://issues.apache.org/jira/browse/THRIFT-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15031093#comment-15031093
 ] 

Hudson commented on THRIFT-3206:
--------------------------------

SUCCESS: Integrated in Thrift #1748 (See 
[https://builds.apache.org/job/Thrift/1748/])
THRIFT-3206 Fix Visual Studio build failure due 'pthread_self': (roger: rev 
54a2e6452fbaed5a82e3b9a8504cf2850d4da191)
* lib/cpp/src/thrift/transport/TSSLSocket.cpp


> Fix Visual Studio build failure due 'pthread_self': identifier not found
> ------------------------------------------------------------------------
>
>                 Key: THRIFT-3206
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3206
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9.2
>         Environment: Visual Studio 2013 Update 5 RC
>            Reporter: Paweł Janicki
>            Assignee: Roger Meier
>              Labels: easyfix
>         Attachments: THRIFT-3206.patch
>
>
> Build fail of project lib\cpp\libthrift.vcxproj due to compile error
> {noformat}
> 1>c:\...\thrift\lib\cpp\src\thrift\transport\tsslsocket.cpp(69): error C3861: 
> 'pthread_self': identifier not found
> {noformat}
> The current Thrift code calls 
> [pthread_self()|http://man7.org/linux/man-pages/man3/pthread_self.3.html] 
> which is not available on Windows platform in current Thrift library 
> dependency set.
> Herein I propose resolution by using native WINAPI equivalent 
> GetCurrentThreadId() in case source is compiled when _WIN32 macro is defined.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to