Questions tagged [simultaneous-calls]

Calling a method in concurrent threads, or events like multiple click as in Pinch Zooming.

Calling a method in concurrent threads, or events like multiple click as in Pinch Zooming.

51 questions
0
votes
1 answer

How to synchronize flow of action in java web application using struts?

I am developing a web application in JSP with back-end MySQL. I need my application to be used by more than one users simultaneously for transactions. There i am facing the following problems. In the application, there are time slots available…
0
votes
2 answers

javascript - how to process functions in order not all at once

I have the following issue: Let's say that I have a function that process an array to do something with it depending on received parameters. So something like: var arr = []; function processArr(p1, p2, ....){}; p1, p2 etc are received from the…
zozo
  • 8,230
  • 19
  • 79
  • 134
-1
votes
2 answers

Is there a simple solution for concurrent requests in PHP?

My script sometimes receives 2 identical requests at the same time (difference in milliseconds) from an external system. The script, upon incoming request, makes a request to the external system, checks for the existence of an entry there, and if…
skywind
  • 892
  • 6
  • 22
  • 44
-1
votes
1 answer

Simultaneous memory access error while inserting element in array

I'm getting Simultaneous memory access error in my below method. Can anyone advice how should I modify it to remove this error and keep the functionality intact. func add(myItem:String, atIndex index:Int){ if self.myItems!.count-1 > index { …
-1
votes
4 answers

How do I timestamp simultaneous function calls in Python?

I have a read function in a module. If I perform that function simultaneously I need to timestamp it. How do I do this?
user46646
  • 153,461
  • 44
  • 78
  • 84
1 2 3
4