Fixed a bug where C. externals were turned into blocking calls, and B. externals were turned into normal external calls
This turned out to be the reason for the slowness in parrot_attack.
This commit is contained in:
parent
fcacdd3235
commit
f4eea82bb7
|
@ -2140,8 +2140,8 @@ cgenProcCall n as
|
|||
tell [")};"]
|
||||
return $ sequence_ afters
|
||||
case c of
|
||||
'B' -> tell ["ExternalCallN("]
|
||||
'C' -> tell ["BlockingCallN(wptr,"]
|
||||
'B' -> tell ["BlockingCallN(wptr,"]
|
||||
'C' -> tell ["ExternalCallN("]
|
||||
_ -> dieP (A.nameMeta n) "Unknown external PROC format"
|
||||
tell [ [if c == '.' then '_' else c | c <- cs]
|
||||
, ",1,ext_args);"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user