[jira] [Commented] (LOG4NET-562) LogicalThreadContext is not per Thread

2017-04-07 Thread Husain Alshehhi (JIRA)
[ https://issues.apache.org/jira/browse/LOG4NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960776#comment-15960776 ] Husain Alshehhi commented on LOG4NET-562: - [~ahouben] You are right. I posted the

[jira] [Commented] (LOG4NET-562) LogicalThreadContext is not per Thread

2017-04-07 Thread Alexander Houben (JIRA)
[ https://issues.apache.org/jira/browse/LOG4NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960517#comment-15960517 ] Alexander Houben commented on LOG4NET-562: -- Hello Husain, I think the observed

Re: [jira] [Commented] (LOG4NET-562) LogicalThreadContext is not per Thread

2017-04-07 Thread Dominik Psenner
Thanks Alexander, that's exactly what I was suspecting. Parallel.ForEach() may not necessarily be using different threads to execute the tasks. Also, the latest stuff that can be implemented with async/await levers high parallelism without the need of multithreading. Only I'm afraid you have to

Re: [jira] [Commented] (LOG4NET-562) LogicalThreadContext is not per Thread

2017-04-07 Thread Alexander Houben
Hello Husain, I think the observed behavior lies in the implementation of Parallel.ForEach. All your assumptions seem correct to me except that Parallel.ForEach does not execute its actions on a separate thread or separate task each. If you look at mscorlib with ILSpy and find System.Threading.Ta

[jira] [Commented] (LOG4NET-562) LogicalThreadContext is not per Thread

2017-04-07 Thread Dominik Psenner (JIRA)
[ https://issues.apache.org/jira/browse/LOG4NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960445#comment-15960445 ] Dominik Psenner commented on LOG4NET-562: - Have you tried to include the actual t

[jira] [Commented] (LOG4NET-562) LogicalThreadContext is not per Thread

2017-04-06 Thread Husain Alshehhi (JIRA)
[ https://issues.apache.org/jira/browse/LOG4NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15958808#comment-15958808 ] Husain Alshehhi commented on LOG4NET-562: - [~nachbarslumpi] Correct. The value ca

[jira] [Commented] (LOG4NET-562) LogicalThreadContext is not per Thread

2017-04-06 Thread Dominik Psenner (JIRA)
[ https://issues.apache.org/jira/browse/LOG4NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15958776#comment-15958776 ] Dominik Psenner commented on LOG4NET-562: - To me this works as designed. The Logi

[jira] [Commented] (LOG4NET-562) LogicalThreadContext is not per Thread

2017-04-06 Thread Husain Alshehhi (JIRA)
[ https://issues.apache.org/jira/browse/LOG4NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15958769#comment-15958769 ] Husain Alshehhi commented on LOG4NET-562: - [~twcclegg] I updated the issue to ref

[jira] [Commented] (LOG4NET-562) LogicalThreadContext is not per Thread

2017-04-05 Thread Thomas Clegg (JIRA)
[ https://issues.apache.org/jira/browse/LOG4NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957243#comment-15957243 ] Thomas Clegg commented on LOG4NET-562: -- Can you provide the version of .NET you are