Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COThanks for the reply! So even though I reference /dev/stdin & /dev/stdout multiple times, each process gets their own instance of it, and there's no chance of them confusing one another?? Sweet! Looking further into the errors after killing (^C) the program, it seems the dead-lock arises with a multiprocessing.Queue. I've got a series of them which I picture as having a cascade, or knock-on effect by sending 'endSEQ', and finally 'STOP'. It took long enough to debug last month with one process. Trying to get my head back around it now, :( And I don't think the semaphore is necessary. Gone :)
      singulars
    2. COnp! The /dev/stdin & /dev/stdout files map to the special stdin & stdout file descriptors, so they don't represent a central device. --- I don't see use of the Queue in the align_seq child process, is it only used in the main process? If so, then you can just use queue.Queue. Also you say you suspect a deadlock - you're not consuming bidirectionally are you (main & child/ren)?
      singulars
    3. COThanks again for clarifying stdin /stdout. Now I think about it, kind of obvious in the way that I use them, but I've never seen it explicitly stated before. You're absolutely right; the Queue's are in a separate part of the program, which is where my deadlocks seem to appear. I'll update the main post because there's a lot more multiprocessing to the program I didn't originally state... Gonna reply to the below posts first though. I've got it now so that sometimes it finishes, and sometimes it breaks right near the end, which I guess is due to latency(??). time.sleep is my temp, dirty fix
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload