more multi-thread fixes
don't use static on acquire() don't yield at all run fillBuf() on thread fix option tooltip as it introduces some overhead
This commit is contained in:
parent
64669e4d9b
commit
1a520dbf3e
14 changed files with 33 additions and 29 deletions
|
|
@ -80,7 +80,7 @@ const char** DivPlatformAmiga::getRegisterSheet() {
|
|||
}
|
||||
|
||||
void DivPlatformAmiga::acquire(short** buf, size_t len) {
|
||||
static int outL, outR, output;
|
||||
thread_local int outL, outR, output;
|
||||
for (size_t h=0; h<len; h++) {
|
||||
bool hsync=bypassLimits;
|
||||
outL=0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue