473,320 Members | 1,694 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,320 software developers and data experts.

PyFAQ: help wanted with thread article

this FAQ item talks about using sleep to make sure that threads run
properly:

http://effbot.org/pyfaq/none-of-my-t...to-run-why.htm

I suspect it was originally written for the "thread" module, but as
far as I know, the "threading" module takes care of the issues described
here all by itself.

so, should this item be removed?

or can anyone suggest a rewrite that's more relevant for "threading"
users. feel free to post suggestions (or better, an updated text) to
this thread, or over at the PyFAQ staging site.

</F>

Nov 14 '06 #1
1 898
Fredrik Lundh a écrit :
this FAQ item talks about using sleep to make sure that threads run
properly:

http://effbot.org/pyfaq/none-of-my-t...to-run-why.htm

I suspect it was originally written for the "thread" module, but as
far as I know, the "threading" module takes care of the issues described
here all by itself.

so, should this item be removed?

or can anyone suggest a rewrite that's more relevant for "threading"
users. feel free to post suggestions (or better, an updated text) to
this thread, or over at the PyFAQ staging site.
Maybe it could be modified to indicate (for threading) existence of
daemon and non-daemon threads.

>
</F>
Nov 14 '06 #2

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

Similar topics

5
by: Robert Schuldenfrei | last post by:
Dear NG, I have not heard from anyone about a good book that deals with the concurrency issue in SQL Server using C#. I have PROMISED Nick I would not use record locking and I have used an old...
13
by: Paul | last post by:
Hi, How do I wait until a thread is finished his job then continue to the original thread? public void main(string args) { Thread t = new Thread(new ThreadStart(DoWork)); t.Start();
4
by: S Shulman | last post by:
Hi I am using the Suspend method to terminate a thread but it seems that after calling that method the IsLive property is still set to True Is there another way to terminate a thread from the...
25
by: Mike Cox | last post by:
Since we have the discussion going, someone mentioned that the group name should be comp.databases.postgresql. I think this is a good name and I'd like to see what everyone thinks of it. There...
6
by: Joe HM | last post by:
Hello - I have a function that calls Thread.Abort() to stop a thread in a _Closed() Method of a GUI. The thread contains a blocking call on a TCP socket and that is the easiest way to stop...
1
by: DBC User | last post by:
I have a process that I am writing, which receives the requests through filewatcher. Once I get the request, I need to start a thread asyn. I shouldn't start the thread again until the running...
22
by: Morpheus | last post by:
Hi, I have been coding in Windows for many years so have a mindset to it, so forgive any stupid questions. Is it possible to create a multithread application in C++ that is portable...
3
by: Fredrik Lundh | last post by:
and yes, has anyone seen Aahz or his OSCON2001 thread tutorial slides lately ? as noticed here: http://effbot.org/pyfaq/how-do-i-program-using-threads.htm they have disappeared from the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.