single threaded apps on dual cpu's

Dan Nelson dnelson at allantgroup.com
Sat Mar 13 19:07:24 PST 2004


In the last episode (Mar 14), Hugo said:
> I have a doubt. I just read on a forum that a single threaded
> application will only use one CPU. Reading ULE's descriptive paper, I
> think this is wrong. It IS possible for a single threaded app to use
> both CPUs, who are sharing the load amongst themselves, right?

A single-threaded app can only run on one CPU, since that's what
single-threaded means.  On a dual-CPU system, both 4BSD and ULE will
run two single-threaded apps simultaneously, one on each CPU.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list