[jira] [Comment Edited] (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 edited comment on LOG4NET-562 at 4/7/17 1:30 PM: --

[jira] [Comment Edited] (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 edited comment on LOG4NET-562 at 4/7/17 1:30 PM: --

[jira] [Comment Edited] (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 edited comment on LOG4NET-562 at 4/7/17 1:22 PM: --

[jira] [Comment Edited] (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 edited comment on LOG4NET-562 at 4/7/17 1:22 PM: --

[jira] [Comment Edited] (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 edited comment on LOG4NET-562 at 4/7/17 1:21 PM: --

[jira] [Comment Edited] (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 edited comment on LOG4NET-562 at 4/7/17 1:18 PM: --

[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