Python Forum
PyRun_SimpleFile calling multiprocessing Python Class cause endless init loop
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PyRun_SimpleFile calling multiprocessing Python Class cause endless init loop
#3
i am using the sync_manager to stop other process that is running

self.stopping = self.sync_manager.Value('b', False)

however it seems the issue happens even without using the sync_manager

all I need to create the Mangaer() without actually using it. this loop will start. not creating the Manager() everything will run fine.
Reply


Messages In This Thread
RE: PyRun_SimpleFile calling multiprocessing Python Class cause endless init loop - by Xeno - Sep-19-2022, 02:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python script is hanging while calling a procedure in database prasanthi417 4 561 Jan-17-2024, 02:33 PM
Last Post: deanhystad
  Is this a multiprocessing bug in Python - or am I doing something wrong? haimat 1 1,227 Oct-18-2023, 06:07 AM
Last Post: absalom1
  python multiprocessing help -- to extract 10 sql table into csv mg24 3 1,432 Nov-20-2022, 11:50 PM
Last Post: mg24
  python multiprocessing to download sql table mg24 5 1,520 Oct-31-2022, 03:53 PM
Last Post: Larz60+
  Python multiprocessing Pool apply async wait for process to complete sunny9495 6 6,555 Apr-02-2022, 06:31 AM
Last Post: sunny9495
  Init an indefinite number of class MathisDELAGE 9 2,393 Feb-18-2022, 07:49 PM
Last Post: deanhystad
  Calling a base class variable from an inherited class CompleteNewb 3 1,730 Jan-20-2022, 04:50 AM
Last Post: CompleteNewb
  Calling a class from a function jc4d 5 1,867 Dec-17-2021, 09:04 PM
Last Post: ndc85430
  Calling functions from within a class: PYQT6 Anon_Brown 4 3,828 Dec-09-2021, 12:40 PM
Last Post: deanhystad
  Class variables and Multiprocessing(or concurrent.futures.ProcessPoolExecutor) Tomli 5 3,936 Nov-12-2021, 09:55 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020