[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] tasks.h
- Subject: [ale] tasks.h
- From: jj at spiderentertainment.com (jj at spiderentertainment.com)
- Date: Fri, 13 Aug 1999 10:34:32 -0400
I was trying to lookup some documentation that would explain tasks.h,
but I couldn't find any, perhaps I'm looking in the wrong area, what are
some good sites/docs that go indepth of Linux ?
I have this tasks.h and I wonder what does the NR_CPUS ? do is that for
multiple proccessors ?
#ifndef _LINUX_TASKS_H
#define _LINUX_TASKS_H
#ifdef __SMP__
#define NR_CPUS 32 /* Max processors that can be running in
SMP */
#else
#define NR_CPUS 1
#endif
#define NR_TASKS 512
#define MAX_TASKS_PER_USER (NR_TASKS/2)
#define MIN_TASKS_LEFT_FOR_ROOT 4
Thank you