[ 
https://issues.apache.org/jira/browse/AXIS2C-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805866#action_12805866
 ] 

S.Uthaiyashankar commented on AXIS2C-1335:
------------------------------------------

--enable-multi-threaded option is used to enable "axis2 multithreaded worker". 
It is nothing to do with multithreading or pthread support. For example, even 
if single threaded worker is used, the modules can have more than one thread 
(like sandesha2) and log messages, so log should have mutex, which means we 
need to link with pthread. 

I think the cause of this jira issue is related to the help given in 
./configure --help. It gave "enable multi thread", and I modified it to have 
"enable multi threaded axis2 worker". 

> Configuring with --enable-multi-thread=no still has a dependency on pthreads
> ----------------------------------------------------------------------------
>
>                 Key: AXIS2C-1335
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1335
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.5.0
>            Reporter: Dominic Smith
>            Priority: Minor
>
> When configuring with --enable-multi-thread=no, the resultant build still has 
> a dependency on the pthread library, due to the pthread calls within 
> thread_unix.c. In principal this isn't a huge problem as it can easily be 
> worked around, however it would be desirable to have the full build have no 
> pthread dependency when configured without multithreading to prevent 
> portability issues. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to