[luau] locking in a cpu/thread combo

MonMotha monmotha at indy.rr.com
Mon Jun 30 11:32:00 PDT 2003


Charles Lockhart wrote:
> Basically I want to dedicate a processor on an smp machine to just 
> running a particular thread of a program, so nothing else gets cpu time 
> on the processor, and the thread doesn't get switched to a different cpu.
> 
> Any pointers, reccommendations on how to do this, where to look, or even 
> how to phrase the dang question for a google search that would return 
> meaningful and applicable results would be greatly apreciated.
> 
> Thanks,
> 
> -Charles

You may be able to pull something like that off (at least the locking a single 
process to a CPU) with RML's cpu affinity patch.  Same site that the preemptable 
kernel is on.  Google can't miss it.

--MonMotha




More information about the LUAU mailing list