There's not too many StgMainThreads around, so why do
you think there's a perf win (at the cost of adding another
word to every TSO)?
When implementing my bound threads proposal, I'd have to query the
MainThread for every TSO that is scheduled.
How many is "not too many"? There is one for each call-in to the RTS,
couldn't that become a problem? I'm just afraid of doing a linear scan
each time.
But no, I'm not absolutely convinced, and I can just do my linear scans
for now. If it's indeed a performance problem, we'll find out soon
enough.
Cheers,
Wolfgang
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|