b8757580f8320499a5277a8b325fc94e72e654d6
[openwrt/svn-archive/packages.git] / net / click / patches / 110-multithread_fix.patch
1 --- a/lib/master.cc
2 +++ b/lib/master.cc
3 @@ -409,7 +409,9 @@ Master::process_pending(RouterThread *th
4 while (Task *t = Task::pending_to_task(my_pending)) {
5 my_pending = t->_pending_nextptr;
6 t->_pending_nextptr = 0;
7 +# if HAVE_MULTITHREAD
8 click_master_mb();
9 +# endif
10 t->process_pending(thread);
11 }
12 }