Questions tagged [concurrency]

78 questions
2
votes
1 answer

Lost wakeup problem - how does UNIX deal with it

(I give context for my question first, the question itself is at the bottom where it says QUESTION in bold). Take two processes A and B. A checks a condition, sees that it isn't satisfied, and goes to sleep/blocks. B satisfies the condition and…
G. Bach
  • 121
1
vote
2 answers

running codes simultaneously while outputting result one by one

I have a scripts looks like: for simplify in 0.1 ;do for lmbda in 0.9 1.1 1.3;do for mu in 2.1 3.4 4.2;do rm eci.out; csce.py --mu $mu --lmbda $lmbda --simplify $simplify \ --favor-low-energy 0.01 --bias-stable \ …
user40780
  • 1,941