Hi, On 10 Mar 2002 at 15:40, Bernd Brodesser wrote:
* Thomas Michael Wanka schrieb am 10.Mär.2002:
Aber innerhalb dieses Linuxthreads ist immer noch nicht sichergestellt, daß einzelne Threads synchron sind. Da wäre es sinnvoller, das Spiel als Thread *neben* dem linuxthread zu betreiben, aber wozu braucht man dann noch das Linux?
Linux hat gar keine Threads. Linux macht alles mit Prozessen.
nein. Zitat: "Yes. As of 1.3.56, Linux has supported kernel-space multithreading. There also have been user-space thread libraries around as early as 1.0.9. There is on-going effort to refine and make the kernel more reentrant. With the introduction of 2.1.x, the memory space is being revised so that the kernel can access the user memory more quickly." und "This FAQ is more than a two years out-of-date. POSIX-threads are now a standard part of all modern Linux distributions. The new glibc version 2 (linux libc version 6.0) is fully re- entrant and supports threads in a fully compliant manner. The default Linux thread implementation is with kernel-space threads, not user-space threads; these threads will schedule properly on an SMP architecture." und "A.5: How stable is LinuxThreads? The basic functionality (thread creation and termination, mutexes, conditions, semaphores) is very stable. Several industrial- strength programs, such as the AOL multithreaded Web server, use LinuxThreads and seem quite happy about it. There used to be some rough edges in the LinuxThreads / C library interface with libc 5, but glibc 2 fixes all of those problems and is now the standard C library on major Linux distributions (see section C)." HTH Tom