comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Multithreading in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Multithreading in IDL [message #44953 is a reply to message #44878] Fri, 29 July 2005 06:20 Go to previous message
Ricardo Bugalho is currently offline  Ricardo Bugalho
Messages: 22
Registered: March 2005
Junior Member
On Tue, 26 Jul 2005 05:06:20 -0700, Tiago St�rmer Daitx wrote:

> So far my experience says that on Linux there'll be a process for each
> thread and on Windows all I could get was a single process, no matter what
> - maybe I'm doing something wrong, but my guess is that is the way
> multithreading works on Windows (note that I neither own a SMP system nor
> have access to one).

Actually, that's a flaw of old threads implementation in Linux. You should
not see one process per thread. Threads should be part of the process. The
modern threads implementation doesn't have that bizarre effect.


>
> A creepy way I can think of to let a piece of code running in the
> background while a main program runs (or not if you want so) is creating a
> base widget with Map 0 and register it with Xmanager using the No_Block
> keyword, since Xmanager can run tasks in the background. It's an ugly
> workaround and I didn't dare to try it (yet), but it's there if someone
> wants to give it a shot.

Doesn't work, XMANAGER is a loop running everything in the same thread.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Fruits of German Labor
Next Topic: Beginer question about the @ usage

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 21:59:52 PDT 2025

Total time taken to generate the page: 1.12343 seconds