python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
ExecutorService analog in Kotlin
I have a piece of Java code that uses ExecutorService. I need to convert this code to Kotlin using coroutines. I tried using GlobalScope.launch() which did work but very differently. In Java code ther...
Klims
Votes: 0
Answers: 1
calling an async function from within a timer
I have an async function that has to be called every given time from within a timer.
In order to avoid an Xcode error,
func firetimer() {
let newtimer = Timer(timeInterval: 1.0, repea...
NightCoder
Votes: 0
Answers: 1
How to prevent WCF services to block when communicating with each other?
I have two WCF services on 2 different and physically separated IIS servers.
Both may call a function SyncExternalServer where they collect data for an update an send it to the other server.
The servi...
xMRi
Votes: 0
Answers: 0
Seemingly unrelated use of std::thread causing later OpenGL commands to run slowly
I'm writing an application in C++ using OpenGL with GLFW, and GLEW for graphics. Each frame, the program completes some computations which are quite expensive time-wise, before displaying the calculat...
Matty Muir
Votes: 0
Answers: 0