[1.48] interprocess consumes 100% on 32bit Windows systems
13 Jul
2012
13 Jul
'12
8:39 a.m.
Hi All,
I found such problem:
N+1 (where N is number of cpu cores) processes with interprocess syncing use 100% cpu on 32 bit Windows system.
Cause of bug:
https://svn.boost.org/trac/boost/changeset/74110
void sched_yield()
-{ Sleep(1); }
+{
+ if(!SwitchToThread()){
+ Sleep(1);
+ }
Test case:
#include
4503
Age (days ago)
4503
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bogdan Slusarczyk