Browse Source

miner.h: pad out work_restart to max likely cache line size

nfactor-troky
Jeff Garzik 14 years ago committed by Jeff Garzik
parent
commit
33e5b54928
  1. 1
      miner.h

1
miner.h

@ -114,6 +114,7 @@ struct thread_q; @@ -114,6 +114,7 @@ struct thread_q;
struct work_restart {
volatile unsigned long restart;
char padding[128 - sizeof(unsigned long)];
};
extern struct work_restart *work_restart;

Loading…
Cancel
Save