Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
176 views

While looking through implementations of the std::atomic<T>::wait, I've found that most of them used a simple hash table for mapping the state for each atomic location. libcxx static constexpr ...
ross1573's user avatar
-1 votes
2 answers
138 views

I am trying to implement website automation. Before I start to interact with website, I have to wait until page is fully loaded. The website work with great amount of data and fetching it from ...
Mihail Scirba's user avatar
1 vote
1 answer
139 views

All sites say: use DistributedMapCacheServer. But that's not a services in NiFi 2.2.0 (Image showing that DistributedMapCacheServer isint in the available servers in nifi 2.2.0) If I search ...
Mike2116 -PRO's user avatar
0 votes
0 answers
84 views

I am using Serenity BDD. I have the following code: @FindBy(id = "privacy-iframe") WebElementFacade cookieBannerIFrame; Boolean cookieDisplayed = withTimeoutOf(Duration.ofSeconds(20))....
Ragnarsson's user avatar
  • 1,845
1 vote
0 answers
58 views

I have Robot Framework tests that are automated in a Gitlab pipeline in a Docker environment (Apache + Robot Framework runs entirely on the Gitlab runner) The problem is that regularly, tests fail ...
Thomas's user avatar
  • 11
1 vote
1 answer
97 views

I am trying to wait in python until either some given signal fires (the signal itself can be ignored) a child process exits There is a function os.sigwait that seems to fit this purpose, but I ...
Bence's user avatar
  • 153
0 votes
1 answer
114 views

The below code doesn't block the thread and it gets into an infinite loop and keep printing Waiting... Waiting... My idea is, the thread should block on the max() time and when it's set to now(), it ...
Seektech's user avatar
0 votes
1 answer
111 views

I have a BASH script that immediately exits while launching a child process that runs in the background. This child process can spawn its own child processes an unknown number of times over an ...
Heimish's user avatar
  • 13
0 votes
1 answer
159 views

I have created a pool of Python processes with the multiproccessing.pool function, any of which performs similar work. This is to have more work done simultaneously. I would like all of the tasks to ...
Jay Mosk's user avatar
  • 377
0 votes
1 answer
47 views

I have suck script for Twitter login automation. I've set waits on 21 line and I script to wait on 34 line. But driver.sleep on line 34 doesn't work 'use strict'; const {Browser,Builder, By, Key} = ...
kaka's user avatar
  • 1
-1 votes
2 answers
125 views

I was asked to write a java method executeInParallel that executes without active waiting and without race conditions(so i thought that i needed an ArrayBlockingQueue).I was also asked to not use ...
Kishido's user avatar
1 vote
1 answer
69 views

I am writing a message oriented middleware, in which subscribers and publishers communicate via a queue in the middle class MessageBroker. publishers should drop messages into a queue of a topic if it ...
LennartPfeiler's user avatar
0 votes
0 answers
48 views

I have a Tkinter window inside a class. This class is called from several protocols (Each one is a different script). In one of the protocols, the window works perfectly and gets the job done for all ...
Karu's user avatar
  • 1
0 votes
0 answers
73 views

I have made a program in C that uses fork() function in a loop and in the child process it executes another program with execlp(). The second program is used to listen for signals (for example CTRL+c, ...
fdnull's user avatar
  • 1
0 votes
1 answer
133 views

interesting screen lldb I encounter an issue with my implementation of pipes and output redirection. It works fine individually, but when I try 'ls | wc > a', it doesn't function as in real Bash. ...
kawzqq's user avatar
  • 25
1 vote
1 answer
72 views

I'm creating a CLI Search Engine for my project and I need to traverse the path given by the user. I'm using FileVisitor. To make things faster, I implemented multi-threading. Here is FileCrawler.java:...
cumabolat's user avatar
1 vote
1 answer
101 views

I've managed to run batch files using the /WAIT command which loads the program then stays running until a program is closed again. I want to do this but for a folder instead of a program, but when I ...
Dalekcaan1963's user avatar
0 votes
1 answer
205 views

Before submitting a form, I want to validate the data by calling a PHP page, which returns an empty string if everything is okay and an error message if not. My current code works, but async: false is ...
Evah's user avatar
  • 3
0 votes
1 answer
225 views

I have a condition variable std::condition_variable my_cond; I want to be able to replace boost::timed_wait() with an std equivalent one. If the previously mentioned condition variable was a boost one,...
user1584421's user avatar
  • 3,933
0 votes
1 answer
38 views

I was trying wait and notify methods. Notify method when put in run method does not work but when the same method is put in some other method it works. public class NewProgram { static int balance = 0;...
Anonymous_1354's user avatar
0 votes
1 answer
34 views

Actually a simple task, but I just can't find a suitable solution Data is collected in one form (HTML) After sending, the server needs, among other things, a few seconds to provide the download, a ...
Funny Paul's user avatar
0 votes
2 answers
331 views

I am very confused about how to use implicit wait in selenium driver.manage().timeouts().implicitlyWait(1, TimeUnit.SECONDS); driver.manage().timeouts().pageLoadTimeout(4, TimeUnit.SECONDS); I saw ...
user3559982's user avatar
-1 votes
1 answer
73 views

I have been able to develop below code which should pass data from one routine to another using go channels: package main import ( "fmt" "sync" ) func generateNumbers(...
Witty Apps's user avatar
0 votes
1 answer
56 views

I am working on TypeScript and I am trying to call a Modal within a function. But a service is called which validates some stuff from the server and based on what is returned I want to call the modal ...
saurav sam's user avatar
1 vote
1 answer
94 views

I was learning pipe and communication between processes and I saw the following code to ping-pong a byte between parent and child processes: int main(int argc, char **argv) { int p[2]; char ...
Overstacked's user avatar

1
2 3 4 5
70