Questions tagged as 'thread'

1
answer

How the node pool works

If, for the time being, my server does not receive many requests or is in development (only receives my test requests), does it make sense to decrease UV_THREADPOOL_SIZE ? If my server is receiving many requests, is there any ga...
asked by 23.06.2018 / 19:15
1
answer

XAML with parameter - BackgroundWorker

I'm making a small XAML application that requests 2 dates. Dates are passed as a parameter to some methods invoked by the Button click event. The problem is that during the execution of the methods the form remains locked. How to use the Back...
asked by 19.02.2016 / 15:00
1
answer

Popular datagrid with threading

I'm contracting a Windows Form application. I am not getting my datagrid popular with a threading , the following error appears:    "Invalid thread operation: datagrid control accessed from a thread in the thread it was created on.  ...
asked by 14.08.2015 / 03:35
1
answer

How to automatically receive, in Activity, a value calculated in a Service?

I have an algorithm that generates prime numbers using a Service . Well, it works but I need it to automatically update the data on my% s of% main, at the moment it does so with the click of a button and needs to be done automatically....
asked by 01.09.2015 / 02:09
1
answer

Multi Processing / Multithread is not working

I want to try to solve the problem of when the client can not connect to the server (connection failure, server down, etc.). In my main class is the connection to the server and I want that in case of giving error caught by try ... catch(C...
asked by 04.11.2014 / 12:11
1
answer

Problems with threads in C ++

Hello, I'm using mingw, 32-bit version on windows 7 Ultimate and I'm having trouble using threads. I know they do not work for this version of mingw, which is why I use the version on this link . But I do not compile this example because it say...
asked by 16.05.2018 / 23:17
1
answer

Trigger automatic email at certain time with java

My system has the part of dental consultations and I need to send email to the client, if your query is on that day. For example: Automatically trigger an email trigger at midnight every day. This email trigger will check if you have queries...
asked by 22.06.2017 / 00:43
0
answers

Different behaviors between Linux and Windows using threads (pthreads)

I'm using the linux pthreads library to try the threads features, the code below prints 5 messages on the screen for each thread, each thread waits its turn to display the message controlled using the semaphores, in Windows it works perfectly, h...
asked by 15.03.2018 / 20:11
0
answers

Application in C Client-server for file transfer with TCP socket and thread [closed]

I would like to ask the forum help to make safe (encrypt) the transfer of a file between two computers. Below is the C source code of a client-server application for file transfer using TCP socket but without encryption of the transferred data....
asked by 25.11.2015 / 20:14
0
answers

AccessViolationException When I type ALT or TAB C # WINDOWS FORM [closed]

I have a form where the Form calls the form (Call), in this Form Call has a list of students and a Panel that is with visible = false, in that same screen I call a class where it makes recognition I have a problem with the following: See...
asked by 23.11.2015 / 19:21