|
Assuming you mean thread in the context of software development (and not in the context of forum posts & resonses or fabric)
Here is a deffinition from Sun[^]: A thread--sometimes called an execution context or a lightweight process--is a single sequential flow of control within a program. You use threads to isolate tasks. When you run one of these sorting applets, it creates a thread that performs the sort operation. Each thread is a sequential flow of control within the same program (the browser). Each sort operation runs independently from the others, but at the same time.
And some information from Microsoft[^]: Operating systems use processes to separate the different applications that they are executing. Threads are the basic unit to which an operating system allocates processor time, and more than one thread can be executing code inside that process. Each thread maintains exception handlers, a scheduling priority, and a set of structures the system uses to save the thread context until it is scheduled. The thread context includes all the information the thread needs to seamlessly resume execution, including the thread's set of CPU registers and stack, in the address space of the thread's host process. [This article goes in to much further detail and states when and when not to use threads and so on]
Does this help? (If you're still unsure I've got a few analogies I recall from my Concurrency lectures back at uni [although that was 8 years ago])
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
Coming soon: The Second EuroCPian Event[^].
|
|
|
|
|
Yes it does. Thank you! Last night, I went back to my note from operating system class back in 2001, but this one helps me a lot better now that I am in the real world where I am urged to make things happen. really helps!
감사합니다. -> Korean saying, "Thank you"
|
|
|
|
|
I was just wondering is there any way to change the language of any dll file and control panel ext...IE: I want to convert a french M$ dll file into english without using res hack and copying and pasting this is very time consumming...The reason is that the Icons and Bitmaps have been replaced in the French Version with ones that i like...but I don't read french to well...PLZ help
Ps...have tried some localization programs...but they end up replacing bitmaps in the french version that I want...
|
|
|
|
|
I Installed Windows xp pro and redhat linux.9 later in my PC and each time my system booted with the boot file of linux I tried to install windows xp again and it change the boot file so I can't work with the linux because it change the file boot.ini
How can I return the linux
|
|
|
|
|
Boot again with the linux installation cd, and repair the already installed copy. In perticular re-install the copy of GRUB/LILO.
|
|
|
|
|
I Want the way that Not needed to the installation CD cas i Lost it too!!
|
|
|
|
|
See http://www.tprthai.net/bootmgr.htm[^]
[EDIT] Windows XP no longer requires that BOOT.INI is marked with the Hidden and System attributes, but it won't show in an Explorer window unless you uncheck "Hide protected operating system files" in Folder Options. [/EDIT]
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
If possible, How to start a process/application before anybody logs on to the system. That is my process should be running even while displaying the Welcome Screen in Windows XP.
CHEERS
|
|
|
|
|
Make your process a Windows NT service.
Maxwell Chen
|
|
|
|
|
I am relatively new to System Level Programming. Hence i dont know anything about it.
Can you please tell how to make a process a Windows NT service ?
I.T. D.U.D.E
|
|
|
|
|
It depends on what development technologies you have available. With .NET it is relatively simple - MSDN: Creating Windows Services[^]
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
Coming soon: The Second EuroCPian Event[^].
|
|
|
|
|
Does anyone in here have any experience coding in C++ and or Java a memory managment simulator?
thanks
if so let me know and I can list a explanation thread
Thanks
|
|
|
|
|
If so, what tool do you use?
I host multiple domains on my IIS server (running Win 2003 server).
I need a tool that can tell me how much outgoing traffic each domain has used.
I need to be able to set bandwidth limits and have the site shut down when their monthly bandwidth is exceeded.
I also need GNU licensing or open-source or other Freeware.
Any pointers greatly appreciated.
Glano perictu com sahni delorin!
|
|
|
|
|
You forgot that this is a visual c++ forum, your question can go in general disccussion or in the lounge
I'll write a suicide note on a hundred dollar bill - Dire Straits
|
|
|
|
|
Hi,
does anybody know how to check whether particular process (application) on the remote server machine is running or not?
Thanks
Lada
|
|
|
|
|
I installed 2 win2k system one in c: and other in D: (there is a good reason to install 2 win2k ).
now at the bootup a menu comes up asking to select one of the os, now both shows 'win2000 prof blah blah' now is there any way to rename these entries, so that the menus look more meaningful?
MSN Messenger.
prakashnadar@msn.com
"If history isn't good, just burn it." - Sidhuism.
|
|
|
|
|
Login to any one of the 'win2000 prof blah blah'<br />
Right click 'My Computer'<br />
Select the 'Advanced' Tab<br />
Click on the 'Settings' button for the 'Startup and Recovery' section<br />
Reboot the system
If this doesnt work or if this seems to be complicated then,
Open the 'boot.ini' file in your c: drive
Edit the file (at your opwn risk)<br />
Reboot the system
He who controls others may be powerful, But he who has mastered himself is mightier still.
|
|
|
|
|
S P S wrote:
Open the 'boot.ini' file in your c: drive
Edit the file (at your opwn risk)
Reboot the system
yeah i figured that out already, thanx anyways.
MSN Messenger.
prakashnadar@msn.com
"If history isn't good, just burn it." - Sidhuism.
|
|
|
|
|
Hi
Open Windows Explorer. Select the "C:" drive.
Edit boot.ini file as it follows:
[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional installation on C" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Microsoft Windows 2000 Professional installation on D" /fastdetect
What you can modify in this file:
The number after timeout= represents the number of seconds you wish to display the boot menu.
So, if you choose 10, the computer will wait 10 seconds until it will boot the default OS which is in this case Windows 2000 Pro from the C drive.
The next line represents which is the default OS installation.
If your hard drive has 2 partitions and you wish to boot by default from the first partition (C drive) you can use the line specified earlier.
The message beetween " " it is what you see when your computer is starting.
So change only the message beetween " " with some text you like(as I did in my example if you like it).
Save the file. Please check that after saving it the file has the .ini extension and restart your computer.
Disclaimer:
Changing boot.ini file without strong knowledge could lead to an unusefull computer. Do it on your own risk!
Mihai Z.
|
|
|
|
|
mihaimedia wrote:
Disclaimer:
Changing boot.ini file without strong knowledge could lead to an unusefull computer. Do it on your own risk!
now thats funny.
I'll write a suicide note on a hundred dollar bill - Dire Straits
|
|
|
|
|
Hi,
Doing the specified changes from my first answer is easy but if you play with something without knowing well what's all about you can really have a computer that doesn't boot anymore.
So I have added the disclaimer/notice in order to make aware of the risk.
happy computing
bye
Mihai Z.
|
|
|
|
|
Thanx any ways.
I'll write a suicide note on a hundred dollar bill - Dire Straits
|
|
|
|
|
Hi!
As a system Administrator(for security) I want to remove the sharing tab (used for folder and file sharing) from a User enviornment. I know we have to set some parameter in Registry. Please tell me exact parameter to set or remove to make it happen.
Is there any other way? According to my analysis it is the right which a user get by default. Hence I suppose above is the only way out
|
|
|
|
|
my system cache doesn't work as it should be working!
when I install a big app then the cache gets bigger and bigger until the whole RAM is full. the last size before I had to press RESET was 919.000KB. The RAM was full and the system was writing everything to the page file... no cache was freed anymore, it just got bigger and bigger. what is going wrong with this sh*t?
Don't try it, just do it!
|
|
|
|
|
I suspect the executable may have been built with the /SWAPRUN:NET or /SWAPRUN:CD options. Were you trying to run this installer from the network? Was it an auto-extracting archive?
Windows also seems to need to read the whole of a large MSI file before trying to install that.
I normally copy large installers from the network to my local hard drive before trying to run them, but then my network is a bit flaky, and has failed half-way through an install before now.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|