Gaging line pipe threads
Pipe threads are usually right handed, though left-hand threads are used for special purposes. The pipe ends are always threaded on the outside and most of the fittings are threaded to screw on the pipe end, although some fittings are made with outside threads to be screwed into other fittings. Pipe threads not only a make mechanical joint but also a leak proof one. To do this, the threads become shallower the farther they are from the end of the fitting or the pipe. Pipe threads comply with ANSI B1.20.1; hose threads comply with ANSI B1.20.7; solder (sweat) ends comply with ANSI-16.18. Handy carton: bin box display packaging; each valve has a data tag with installation instructions and is bar-coded for easy identification.
Pipe threads come in all sizes. You need to add teflon tape to pipe threads to keep them leak free. Pipe threads are unique in that they are tapered. The taper provides a method of sealing off liquids and gases.
Threads are a way of describing the resulting divergence of users' views of an object and ways of attempting reconciliation. Threads are certainly the cause of a lot of headaches: that's certain :-). However, I think the reaction to "not use them" is still the wrong one, and I think your arguments and those in the microsoft presententation aren't convincing. Threads are a tool to help the developer maintain concurrent execution of an application and can't fix a bad design.
Threads are considered to be a part of the kernel but there are various libraries in existance created by other Linux users, due fully to the open-source nature of the product. Since version 1.3.56, Linux has supported kernel-level threading. 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. Threads are merely streams of control and do not have any global data associated with them. Any global variables (e.g., common blocks in FORTRAN) are "shared" by all the threads, that is, any thread can access and change that data.
Threads are key technology in the further development of Linux and Unix. The programming model facilitated with the use of threads benefits both client and server programs. Threads are similar to processes. Threads, like processes, are time-sliced by the kernel. Threads are scheduled by calling the thread function with the appropriate thread state. The reason why Protothreads is so good at the threadring benchmark is that threads are being scheduled in an optimal way with no overhead.
Threads are a way for a program to split itself into two or more simultaneously (or pseudo-simultaneously) running tasks (see also: fork ). Threads and processes differ from one operating system to another but, in general, a thread is contained inside a process and different threads in the same process share some resources while different processes do not.