Re: [GSoC 2017] Multithreading

2017-07-11 Thread Samuel Thibault
Hello, Joan Lledó, on dim. 09 juil. 2017 22:18:05 +0200, wrote: > After finishing with IPv6, I spent the last week fixing some bugs, > mainly those related with multithreading. Nice work, hoping you didn't get too much headache with debugging multithreading issues :) Samuel

Re: [GSoC 2017] Multithreading

2017-07-10 Thread Joan Lledó
2017-07-10 10:30 GMT+02:00 Richard Braun : > On Sun, Jul 09, 2017 at 10:18:05PM +0200, Joan Lledó wrote: >> However, after all the pending threads still were not being canceled. >> The problem here was that the standard function where the threads >> where blocked on, pthread_cond_wait(), didn't res

Re: [GSoC 2017] Multithreading

2017-07-10 Thread Richard Braun
On Sun, Jul 09, 2017 at 10:18:05PM +0200, Joan Lledó wrote: > However, after all the pending threads still were not being canceled. > The problem here was that the standard function where the threads > where blocked on, pthread_cond_wait(), didn't respond to cancel > requests from hurd_thread_cance

[GSoC 2017] Multithreading

2017-07-09 Thread Joan Lledó
After finishing with IPv6, I spent the last week fixing some bugs, mainly those related with multithreading. This is an issue I never thought on until now, and turned up to be a real mess. I shall give you a summary. First, LwIP has a main thread called "tcpip_thread" where the stack is actually r