Re: thread model questions

2000-11-28 Thread FengYue
On Mon, 27 Nov 2000, Alfred Perlstein wrote: - I thought it's preemptive purely at user-level since the threads are - scheduled by thread lib at user-level only. No? - -What are you asking? Give a scenario and I'll explain what should -happen. - Hmm, actually I don't know in which case it'd

Re: thread model questions

2000-11-28 Thread FengYue
On Tue, 28 Nov 2000, Alfred Perlstein wrote: - Hmm, actually I don't know in which case it'd be considered as "preemptive - at kernel level"... In the case where a thread calls a syscall and gets - blocked, the entire process gets blocked not just that thread. In - the case where the syscalls

Re: thread model questions

2000-11-28 Thread Alfred Perlstein
* FengYue [EMAIL PROTECTED] [001128 18:31] wrote: On Tue, 28 Nov 2000, FengYue wrote: --No it wouldn't. The async nature of the call would prevent the --process from blocking therefore the threads wouldn't block either --blocking. -- - -Sorry for being unclear. I actually meant "Would

Re: thread model questions

2000-11-27 Thread David Petrou
thanks for the quick reply... 3. if preemptive, does that occur at user-level, or by the kernel? (and how costly is it?) It's a mix, and very cheap. sounds pretty neat. is there a design document somewhere where i can read up on this for fun? 4. if one thread makes a system call

Re: thread model questions

2000-11-27 Thread Alfred Perlstein
* David Petrou [EMAIL PROTECTED] [001127 14:41] wrote: thanks for the quick reply... 3. if preemptive, does that occur at user-level, or by the kernel? (and how costly is it?) It's a mix, and very cheap. sounds pretty neat. is there a design document somewhere where i can

Re: thread model questions

2000-11-27 Thread FengYue
On Mon, 27 Nov 2000, Alfred Perlstein wrote: -* David Petrou [EMAIL PROTECTED] [001127 14:41] wrote: - thanks for the quick reply... - - 3. if preemptive, does that occur at user-level, or by the kernel? - (and how costly is it?) - - It's a mix, and very cheap. I thought it's

Re: thread model questions

2000-11-27 Thread Alfred Perlstein
* FengYue [EMAIL PROTECTED] [001127 16:08] wrote: On Mon, 27 Nov 2000, Alfred Perlstein wrote: -* David Petrou [EMAIL PROTECTED] [001127 14:41] wrote: - thanks for the quick reply... - - 3. if preemptive, does that occur at user-level, or by the kernel? - (and how costly is it?)

Re: thread model questions

2000-11-27 Thread David Petrou
hi. i've searched the handbook, tutorial, FAQ, and parts of the mailing list archives but haven't found direct answers to the following questions. i hope you don't mind answering them for me; it will save me a lot of time looking through the code, and / or writing test cases: john milford