Questions tagged as 'processo'

3
answers

Is there a difference between Program, Thread and Process?

I would like to know if there is a difference between Thread , Process and Program ? These three words are widely used in the area of Information Technology, so it would be interesting to know the difference between each one if it exists,...
asked by 29.05.2016 / 06:23
1
answer

What are and how do signs work?

Do they exist only on * Unix or also on Windows? If so, what would be the equivalent on the Windows system? What is the relationship with signal handling ? A practical example of a signal handling can be any language just to demonstrate...
asked by 21.12.2018 / 14:54
1
answer

Difference between Pipes, Fork and Threads

From this question , I came to the curiosity of wanting to learn more about the subject, then researching more deeply, I came across with more doubt on the subject. I've seen a string of ways to use Threads. We can see the threads as small p...
asked by 02.08.2016 / 15:47
2
answers

What is the purpose of the UseShellExecute property?

Developing an application in C # I came across the UseShellExecute property in the following code snippet: ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.CreateNoWindow = false; startInfo.UseShellExecute = false; startIn...
asked by 05.05.2017 / 15:45
1
answer

What would a PID be?

I'm starting to study desktop applications. I had a question about how I could know if a particular application is running and I was told I could use PID as a solution to be able to detect this. I usually work with Linux and, from what I un...
asked by 22.03.2017 / 15:10
2
answers

Execution of programs in halt WITHOUT use of Threads

Ask me to build a Java program that runs parallel programs ( ls , firefox ) that are contained in a file. I already have the following code: File file = new File()'; List<String> lista = file.readFile(args[0]);...
asked by 21.11.2017 / 13:32
1
answer

What are Mutexes and when is it advisable to use this feature?

I read about Mutexes and the class Mutex . However, I can not clearly understand what Mutex really is and what this class does. Being that I would like to know if I can use this feature to prevent my desktop application from running more t...
asked by 15.10.2018 / 16:24
1
answer

What is the difference between GetCurrentProcess and GetCurrentProcessID?

What is the difference between calling GetCurrentProcess and MainHandle defined below: var MainHandle: THandle; begin MainHandle := OpenProcess(PROCESS_ALL_ACCESS, false, GetCurrentProcessID); end; In my application only...
asked by 05.01.2015 / 00:19
1
answer

Creating processes with fork

I'm creating a sequence of processes through the command fork , but when I was listing the processes generated by the code, I came across that there was a larger amount than I had created. Why this?    By 10 forks 1024 proces...
asked by 28.01.2017 / 05:22
2
answers

Terminate a process in C # with WPF

I have a solution that has two projects. one main project and one that serves as an Updater. To perform the upgrade, within the main project, I call a console application as follows. private void Window_Loaded(object sender, RoutedEventArgs...
asked by 08.04.2014 / 14:27