say some thing about semaphore.?
605648
Semaphore can refer to:\n\nSemaphore communication by means of flags or other \npositional indicators \n\nA mechanical device (a semaphore signal) used in railway signalling \n\nSemaphores in computer science are a mechanism for supporting mutual exclusion in concurrent programs. \n\nSemaphore, South Australia, an historic seaside community in southern Australia \n\nSemaphore is a comprehensive integrating accounting software system
1120250
Depends on the Operating System. I will mention the two most popular.\n\n In Windoze, create a thread\n In *nix call fork()\n\nThey are all different in some way and have their own set of 'gotchas' be prepared to do a lot of RTFM
289986
Typically a mutex allows you to exclude others while you are doing something. So when you acquire a mutex, no one else can acquire it until you release your lock on it. A semaphore, on the other hand, has a count. For example, I might not want to start more than 3 print jobs. I could start a semaphore with a count of 3. The first 3 threads that try to "get" the semaphore will succeed. The 4th will have to wait (count=0) until one of the first 3 "gives back" the semaphore count that it took.\n\nObviously a semaphore of count 1 is sort of like a mutex.
580328
download a free utility called killbox.  That should do the trick.
944927
SPIM!\n\nI'd like to introduce you to the "Block" feature of Yahoo! Messenger.  :-D
99874
easy. press the insert button on your keyboard. press it once, and it stops. :^)
429014
it pretty much pokes the processor and says, "You there! Stop wat ur doin and take care of this input!" E.G. if you press a key on your keyboard, you certainly want it to be processed. Without an interrupt, it would just sit there in the key queue while the processor does anything else it wants.
38989
Like this:\n\nConsole.Write( "This " );\nConsole.Write( "is on a single line." )\n\nConsole.WriteLine( "" );\nConsole.WriteLine( "This is on a different line" );\nConsole.WriteLine( "This is too!" );
203092
Try Rright clicking on it and select ignore...might have to do it to each line though...
569543
- - - . . --- . - - - . - ... ---- .- ..- zap (kinda like that)
1166952
check this out\n\non the last one scroll about half way down..interesting what squid can do
922765
Hi\n\nPress ctrl+alt+delete keys together then pick the task manager button.\n\nThis will give you a list of all program's running and list al none responding ones.\n\nGet back with which ones are not responding.
884510
... Shhh.... how about you stay quiet from now on?
45960
press one of the cursor keys? -> <- etc.
93333
press the continue anyway button
637678
protected void BuildThread() \n{ \n  string s ; \n  s = "This is output from another thread"; \n  Console.WriteLine(s); \n}\n\nthread = new Thread(new \nThreadStart(BuildThread)); \nthread.Start();\n\nYou can kill a thread:\nif ( thread.IsAlive ) \n{ \n     thread.Abort(); \n}\n\nor you can suspend it:\nif (thread.ThreadState = ThreadState.Running) \n{ \n     thread.Suspend(); \n}\n\nWhat is your need for a thread?
906134
I've no practical experience in working on these, I'm just writing the methods by which u can establish IPC (and in which condition u've to apply which method)... I've studied those on textbooks... \nBROAD-CATEGORIES :\n(1)Shared resources / mainly shared-memory\n[here 2 processes share a common resource, that can be memory also. Semaphore is used in this method... remember Producer-Consumer problem? It does fall in this category]\n(2)Message-passing\n[here kernel is used as the intermediate medium. Mail-box, msg-queues 're used in this method]\n- - - - - - --- - -- -  - - -- - - - - - - -- - -  -- - - - - - - - -\nMOSTLY-USED METHODS ...\n\nMETHOD 1(Pipes):\nThis allows the flow of data in one direction only. Data from the output is usually buffered until the input process receives it which must have a common origin.\nMETHOD 2(Named Pipes):\nThis is a pipe with a specific name. It can be used in processes that do not have a shared common process origin. Example is FIFO where the data is written to a pipe is first named. \nMETHOD 3(Message queuing): \nThis allows messages to be passed between messages using either a single queue or several message queues. This is managed by the system kernel. These messages are co-ordinated using an application program interface (API)\nMETHOD4(Semaphores): \nThis is used in solving problems associated with synchronization and avoiding race conditions. They are integers values which are greater than or equal to zero \nMETHOD5(Shared Memory): This allows the interchange of data through a defined area of memory. Semaphore value has to be obtained before data can get access to shared memory.\nMETHOD6(Sockets): \nThis method is mostly used to communicate over a network, between a client and a server. It allows for a standard connection which I computer and operating system independent.