atom feed46 messages in org.freebsd.freebsd-archRe: Threads models and FreeBSD.
FromSent OnAttachments
Julian ElischerOct 31, 1999 11:57 am 
Julian ElischerOct 31, 1999 1:15 pm 
Kris KennawayOct 31, 1999 2:00 pm 
Amancio HastyOct 31, 1999 2:11 pm 
Julian ElischerOct 31, 1999 2:38 pm 
Kris KennawayOct 31, 1999 3:09 pm 
Nate WilliamsOct 31, 1999 3:40 pm 
Daniel EischenOct 31, 1999 3:43 pm 
Daniel EischenOct 31, 1999 3:53 pm 
Daniel C. SobralOct 31, 1999 4:48 pm 
Nate WilliamsOct 31, 1999 4:54 pm 
Julian ElischerOct 31, 1999 5:08 pm 
Peter JeremyOct 31, 1999 5:15 pm 
Nate WilliamsOct 31, 1999 5:15 pm 
Julian ElischerOct 31, 1999 5:41 pm 
Julian ElischerOct 31, 1999 5:49 pm 
Julian ElischerOct 31, 1999 6:16 pm 
Nate WilliamsOct 31, 1999 6:19 pm 
Nate WilliamsOct 31, 1999 6:20 pm 
Amancio HastyOct 31, 1999 6:31 pm 
Julian ElischerOct 31, 1999 6:44 pm 
Daniel EischenOct 31, 1999 7:01 pm 
Nate WilliamsOct 31, 1999 7:02 pm 
Daniel EischenOct 31, 1999 7:14 pm 
Daniel EischenOct 31, 1999 7:16 pm 
Daniel EischenOct 31, 1999 7:46 pm 
Nate WilliamsOct 31, 1999 8:12 pm 
Daniel EischenOct 31, 1999 8:53 pm 
Marcel MoolenaarNov 1, 1999 1:56 am 
Randell JesupNov 1, 1999 3:12 am 
Nate WilliamsNov 1, 1999 7:28 am 
Justin T. GibbsNov 1, 1999 9:05 am 
Nate WilliamsNov 1, 1999 11:07 am 
Justin T. GibbsNov 1, 1999 11:14 am 
Peter DufaultNov 1, 1999 11:36 am 
Daniel EischenNov 1, 1999 11:54 am 
Nate WilliamsNov 1, 1999 12:01 pm 
Nate WilliamsNov 1, 1999 12:02 pm 
Nate WilliamsNov 1, 1999 12:16 pm 
Daniel EischenNov 1, 1999 12:36 pm 
Daniel EischenNov 1, 1999 12:52 pm 
Nate WilliamsNov 1, 1999 12:59 pm 
Peter DufaultNov 1, 1999 1:04 pm 
Julian ElischerNov 1, 1999 1:18 pm 
Peter DufaultNov 1, 1999 1:22 pm 
Jacques VidrineNov 1, 1999 2:43 pm 
Subject:Re: Threads models and FreeBSD.
From:Peter Jeremy (jere@gsmx07.alcatel.com.au)
Date:Oct 31, 1999 5:15:19 pm
List:org.freebsd.freebsd-arch

[This should have gone to the list, not just Julian]

On 1999-Nov-01 08:15:23 +1100, Julian Elischer wrote:

So what are the definitions that a thread enabled environment should possess?

One good starting point would be some agreement on terminology since /usr/include/sys/proc.h states: * This structure contains the information needed to manage a thread of * control, known in UN*X as a process;

For the purposes of this discussion, I suggest that `process' refers to 1 or more threads sharing a common address space. This is distinct from the usage within 4.4BSD - particularly rfork(2).

2/ Ability to simultaneously schedule two threads over separate Processors.

^^^ N ^ N

6/ (contentious) multiple theads should be bound to within the resource limits of the single process.

Whilst some of this is `implementation' rather than `requirements', a good place to start is to work through each field in struct proc and decide whether that information relates to the process as a whole, or a single thread. (This will need to be done at some stage, and is a good trigger for deciding what differentiates a thread from a process).

Peter

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message