473,395 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Thread help

Hi guys,
I would make 3 threads for a client application.

Tnx

Dec 1 '06 #1
9 1015
On 2006-12-01, Salvatore Di Fazio <sa***************@gmail.comwrote:
I would make 3 threads for a client application.
You should use 4.

--
Grant Edwards grante Yow! My TOYOTA is built
at like a... BAGEL with CREAM
visi.com CHEESE!!
Dec 1 '06 #2
Grant Edwards ha scritto:
You should use 4.
Yes, but I don't know how can I make a thread :)

Dec 1 '06 #3
On 2006-12-01, Salvatore Di Fazio <sa***************@gmail.comwrote:
Grant Edwards ha scritto:
>You should use 4.

Yes, but I don't know how can I make a thread :)
Perhaps you should have said that earlier?

Googling for "pythong threads" finds some useful info:

http://docs.python.org/lib/module-threading.html
http://linuxgazette.net/107/pai.html
http://www.wellho.net/solutions/pyth...t-example.html
http://heather.cs.ucdavis.edu/~matlo.../PyThreads.pdf

--
Grant Edwards grante Yow! Am I elected yet?
at
visi.com
Dec 1 '06 #4
Grant Edwards wrote:
On 2006-12-01, Salvatore Di Fazio <sa***************@gmail.com>
>I would make 3 threads for a client application.
You should use 4.
I vote for just 1.

Regards,
Björn

--
BOFH excuse #236:

Fanout dropping voltage too much, try cutting some of those little
traces

Dec 1 '06 #7
Why stop there?
Bjoern Schliessmann wrote:
Grant Edwards wrote:
On 2006-12-01, Salvatore Di Fazio <sa***************@gmail.com>
I would make 3 threads for a client application.
You should use 4.

I vote for just 1.

Regards,
Björn

--
BOFH excuse #236:

Fanout dropping voltage too much, try cutting some of those little
traces
Dec 1 '06 #8
At Friday 1/12/2006 17:26, Bjoern Schliessmann wrote:
I would make 3 threads for a client application.
You should use 4.

I vote for just 1.
We all know that the correct answer is, and always has been, 42
--
Gabriel Genellina
Softlab SRL

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Dec 2 '06 #9
John Henry wrote:
Why stop there?
Stop where, after one thread? Different question: Why use many
threads? It adds complexity and overhead and forces you to think
about thread safety and reentrance.

Regards,
Björn

--
BOFH excuse #134:

because of network lag due to too many people playing deathmatch

Dec 2 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: serge calderara | last post by:
Dear all, I have a function that I need to run in a thread due to the fact that it can takes long time to execute according to the amount of data to collect. This function is also populating a...
6
by: Tony Proctor | last post by:
Hi everyone We're experiencing some serious anomalies with the scheduling of ASP threads. I'd be interested to hear if anyone knows what algorithm is used (e.g. simple round-robin, or something...
4
by: Leonardo Hyppolito | last post by:
Hello, I am trying to write a multithread program that simulates producers and consumers. My program can have many producers and many consumers (each in a separate thread). It has a storage...
7
by: Ivan | last post by:
Hi I have following problem: I'm creating two threads who are performing some tasks. When one thread finished I would like to restart her again (e.g. new job). Following example demonstrates...
20
by: Bob Day | last post by:
Using VS 2003, VB, MSDE... There are two threads, A & B, that continously run and are started by Sub Main. They instantiationsl of identical code. Thread A handles call activity on telephone...
7
by: Charles Law | last post by:
My first thought was to call WorkerThread.Suspend but the help cautions against this (for good reason) because the caller has no control over where the thread actually stops, and it might have...
1
by: alundi | last post by:
Greetings: I'd like to post this as a new thread to an article in microsoft.public.dotnet.languages.vb originally made by nevin and replied to by Alan Pretre back in December ("ThreadState ==...
6
by: Sergey Poberezovskiy | last post by:
I have the following code in C# that I have trouble converting to VB(2.0): private delegate void openDialog(); private void openWindowsDialog(openDialog open) { Thread thread = new Thread(new...
8
by: Brad Walton | last post by:
Hello. First post, but been doing a bit of reading here. I am working on a project in Java, but decided to switch over to C# after seeing some of the additional features I can get from C#. One of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.