Python Forum
code pattern for process communication
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
code pattern for process communication
#7
Well, asyncio is capable to wait for a connection and once a such is established a could be used for this purpose. It will not be high CPU load as using while loop.

I forgot to mention that the built-in asyncio Protocols or Transport must be used since there are not blockable.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
RE: code pattern for process communication - by wavic - Sep-27-2017, 09:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Process finished with exit code 137 (interrupted by signal 9: SIGKILL) erdemath 2 9,574 Apr-18-2022, 08:40 PM
Last Post: erdemath
  Speed up code with second process help samuelbachorik 0 1,422 Sep-04-2021, 09:31 AM
Last Post: samuelbachorik
  Code taking too much time to process ErPipex 11 4,972 Nov-16-2020, 09:42 AM
Last Post: DeaD_EyE
  process finished with exit code -1073741819 (0xC0000005) GMCobraz 8 5,465 Sep-01-2020, 08:19 AM
Last Post: GMCobraz
  packet radio communication EmpireAndrew 1 2,204 Nov-01-2019, 06:35 PM
Last Post: micseydel
  WiFi communication Milad 2 2,494 Sep-07-2019, 11:53 AM
Last Post: ndc85430
  How to sharing object between multiple process from main process using Pipe Subrata 1 3,682 Sep-03-2019, 09:49 PM
Last Post: woooee
  Simple inter-process communication: Switching from Perl to Python Pappy 1 2,912 May-10-2019, 12:29 AM
Last Post: Pappy
  Process finished with exit code -107374819 (0xC0000375) mrazko 2 8,503 Apr-05-2019, 12:46 PM
Last Post: mrazko
  Serial communication with raspberry pi 3B and Xbee kj7 0 2,189 Mar-25-2019, 03:39 AM
Last Post: kj7

Forum Jump:

User Panel Messages

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