Click here to Skip to main content
16,007,277 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: Trojan Pin
John R. Shaw12-Feb-06 5:47
John R. Shaw12-Feb-06 5:47 
AnswerRe: Trojan Pin
Dave Kreskowiak12-Feb-06 13:39
mveDave Kreskowiak12-Feb-06 13:39 
GeneralRe: Trojan Pin
John R. Shaw12-Feb-06 14:38
John R. Shaw12-Feb-06 14:38 
JokeRe: Trojan Pin
JimmyRopes12-Feb-06 15:11
professionalJimmyRopes12-Feb-06 15:11 
GeneralRe: Trojan Pin
Dave Kreskowiak12-Feb-06 15:14
mveDave Kreskowiak12-Feb-06 15:14 
Questionabout application ,process , threads Pin
kevien10-Feb-06 23:59
kevien10-Feb-06 23:59 
AnswerRe: about application ,process , threads Pin
Michael Dunn11-Feb-06 8:24
sitebuilderMichael Dunn11-Feb-06 8:24 
AnswerRe: about application ,process , threads Pin
JimmyRopes12-Feb-06 6:39
professionalJimmyRopes12-Feb-06 6:39 
Process boundaries isolate multiple applications running concurrently on the same machine. Memory is allocated to a process and is protected from other processes accessing it directly. You can’t pass a pointer to memory to another process. One process does not access another processes address space directly. There is always some indirection between processes, either a proxy or a memory mapped file.

Threads operate within a process and all threads can access common memory within the process that created them. Variables [or objects]that are global in scope can be accessed by any thread within the process. As with functions threads can also have local variables [or objects]that are unique to the individual thread which cannot be accessed by any other thread.

When you launch a process [execute a program] the OS assigns a unique process identifier to the process [PID] and launches the processes main thread. In this main thread you can launch many subordinate threads that run more or less simultaneously. It gets a little complicated with multiple CPUs so let’s just stick to one for illustration.

When you launch a thread you assign a dispatch priority [or take the default] which determines when (relative to other threads) a thread gets CPU cycles. The thread competes with every other thread on the machine for CPU resources in prioritized queues. Dispatching can get a little tricky so that no thread gets starved but to keep it simple, and in general, higher priority threads get resources [CPU cycles]before lower priority threads.

Take a look at the Windows Task Manager [ctl-alt-del] and in the "view - select columns" menu check PID, CPU, CPU Time and Thread Count. This will show all the process currently running on the machine. Double click the CPU column header to sort by CPU percentage and you will see the processes swapping in and out and the percentage of CPU cycles they are using.

Hope this helps.


I'm on-line therefore I am.

JimmyRopes

QuestionLocal profiles on XP in Server 2003 env Pin
mitooki10-Feb-06 1:26
mitooki10-Feb-06 1:26 
AnswerRe: Local profiles on XP in Server 2003 env Pin
Dave Kreskowiak10-Feb-06 1:45
mveDave Kreskowiak10-Feb-06 1:45 
GeneralRe: Local profiles on XP in Server 2003 env Pin
mitooki10-Feb-06 2:53
mitooki10-Feb-06 2:53 
Questioncofuse System Paging File Pin
kevien9-Feb-06 22:39
kevien9-Feb-06 22:39 
AnswerRe: cofuse System Paging File Pin
markkuk9-Feb-06 23:06
markkuk9-Feb-06 23:06 
GeneralRe: cofuse System Paging File Pin
kevien9-Feb-06 23:41
kevien9-Feb-06 23:41 
GeneralRe: cofuse System Paging File Pin
Dave Kreskowiak10-Feb-06 1:35
mveDave Kreskowiak10-Feb-06 1:35 
Questionhowto create a timer interrupt? Pin
quirk_1a9-Feb-06 3:17
quirk_1a9-Feb-06 3:17 
AnswerRe: howto create a timer interrupt? Pin
Dave Kreskowiak9-Feb-06 5:22
mveDave Kreskowiak9-Feb-06 5:22 
GeneralRe: howto create a timer interrupt? Pin
quirk_1a9-Feb-06 21:03
quirk_1a9-Feb-06 21:03 
GeneralRe: howto create a timer interrupt? Pin
Dave Kreskowiak10-Feb-06 1:32
mveDave Kreskowiak10-Feb-06 1:32 
GeneralRe: howto create a timer interrupt? Pin
quirk_1a12-Feb-06 21:32
quirk_1a12-Feb-06 21:32 
AnswerRe: howto create a timer interrupt? Pin
Trollslayer10-Feb-06 2:16
mentorTrollslayer10-Feb-06 2:16 
AnswerRe: howto create a timer interrupt? Pin
JimmyRopes12-Feb-06 8:11
professionalJimmyRopes12-Feb-06 8:11 
GeneralRe: howto create a timer interrupt? Pin
Dave Kreskowiak12-Feb-06 13:29
mveDave Kreskowiak12-Feb-06 13:29 
GeneralRe: howto create a timer interrupt? Pin
JimmyRopes12-Feb-06 14:43
professionalJimmyRopes12-Feb-06 14:43 
QuestionDeleting Desktop created by CreateDesktop Pin
mikko laanti8-Feb-06 5:38
mikko laanti8-Feb-06 5:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.