in reply to Re: Tk and Threads (again)
in thread Tk and Threads (again)
but at the same time, threads impose a rather substantial overhead penalty as well because they force Perl to implement preemptive multitasking within a single process, which is no mean feat.
Not so. All the preemption and multitasking is done by entirely by the operating system, regardless of which OS it is running on. Perl uses either POSIX threads or Win32 native threads.
Unlike Java and several other langauges which do implement their own mini-schedulers within each process, Perl leaves all the scheduling to the OS.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Tk and Threads (again)
by Errto (Vicar) on Jan 23, 2006 at 03:28 UTC | |
by BrowserUk (Patriarch) on Jan 23, 2006 at 08:01 UTC | |
by Courage (Parson) on Jan 23, 2006 at 16:50 UTC | |
by BrowserUk (Patriarch) on Jan 23, 2006 at 17:10 UTC | |
by Courage (Parson) on Jan 23, 2006 at 18:32 UTC | |
|